0

We are using Bing Ads API for advertising our products through the campaign ads. We have accessing the function name getCampaign() referring bing ads document. Inside the getcampaign function calling the method soapCall, the code given below,

$bingAdsSoapClient = $this->bingAPIClient->__soapCall ( $actionGetCampaignsByAccountId, array( $actionGetCampaignsByAccountId. 'Request' => $parametersForBingAdsAPIAccountId ), null, $this->bingAPIInputHeaders, $outputHeaders );

When we execute the code it returns $bingAdsSoapClient value it comes empty, and we have the campaigns in our account but its displaying empty campaign values.

Thanks

Pavithra
  • 19
  • 4

1 Answers1

0

Have you specified the correct campaign types in the request message (the same types that you see in Bing Ads web application)? There is a GetCampaignsByAccountId example here at GitHub.

By the way next time please feel free to reach out via the Bing Ads API forum, and we are happy to assist promptly. Please provide the SOAP request + response + timestamp to expedite the investigation. TIP: The troubleshooting guide has tips on how to capture the XML trace, as does this example.

Best regards, Eric

Eric Urban
  • 582
  • 2
  • 7