Hi,
I've written some code to validate campaigns before submitting them to
the google platform. That was working but this morning the mutate
function still return null. Here's the code:
---------------------------------------------
try {
[...]
//Campaign VALIDATION service
CampaignServiceInterface campaignServiceInterface =
(CampaignServiceInterface)user.getValidationService(AdWordsService.V200909.CAMPAIGN_SERVICE);
Campaign campaign = new Campaign();
campaign.setName(...);
[...]
CampaignOperation operation = new CampaignOperation();
operation.setOperand(campaign);
operation.setOperator(Operator.ADD);
//The return value here is always null
CampaignReturnValue result = campaignServiceInterface.mutate(new
CampaignOperation[] {operation});
campaignId = result.getValue()[0].getId();
// No policy violations found, finishing without exception.
} catch (ApiException e) {
[...]
---------------------------------------------
Hope someone could help.
Thanks
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en