While creating Ad Groups in PHP getting the error RRS feed

  • Question

  • While creating Ad Groups in PHP getting the error

    AddAdGroups failed. a:DeserializationFailed The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter https://adcenter.microsoft.com/v6:AdGroups. The InnerException message was 'There was an error deserializing the object of type Microsoft.AdCenter.Advertiser.CampaignManagement.Api.DataContracts.AdGroup[]. The value '' cannot be parsed as the type 'Int32'.'. Please see InnerException for more details

    Monday, June 28, 2010 12:16 PM

All replies

  • If you could, please start using the Community Forum at:


    For this issue, can you please open a support ticket and provide your SOAP request and response?


    Jeff Dillon, API Support

    Monday, June 28, 2010 4:42 PM
  • Hey Jeff,

    Where do I open the support ticket?  I'm experiencing problems uploading a new Campaign.  The Campaigns and Adgroups and Ads are working as designed, the error is thrown when adding the keywords:  Internal Error.  I've got my SOAP req/resp ready to share with someone; just need to know the protocol for submitting the bug.


    Thanks in advance,


    Monday, June 28, 2010 6:35 PM
  • Talk to your Microsoft Search Representative, generally the person who provided your API login credentials, regarding how to open a support ticket.

    Jeff Dillon, API Support

    Tuesday, June 29, 2010 12:24 AM
  • thanks for the reply....i found out the issue with the above error,the problem was with AdDistribution and BiddingModel values being passed in $adGroups array while creating adgroups.Wanted to know the default values for AdDistribution and BiddingModel in case if both Search and Content network is selected,or if no network is selected in case of (Ad Distribution) ,Also when "Networks and websites" is selected in case of (BiddingModel)

    Following url list out's the default values,but it doesn't list out when "both search and content networks" are selected or when "both network are not selected" in case of Ad Distribution ,also when Bidding model "networks and website" is selected


    Tuesday, June 29, 2010 10:26 AM
  • Please use the Community forum or open a support ticket. The Content network is only available in the US Ad Distribution.

    Jeff Dillon, API Support

    Tuesday, June 29, 2010 4:43 PM