Parallel Tracking v201806

57 views
Skip to first unread message

cvit sandeep

unread,
Jul 2, 2018, 9:48:41 AM7/2/18
to AdWords API and Google Ads API Forum
hi team,

when I am updating the Campaign.finalURLSuffix. (using the version v201806)
It throws an error like 
OperationAccessDenied.ACTION_NOT_PERMITTED @ operations[0].operand.finalUrlSuffix
The following code we using.

Enter code here...$campaign                             = new Campaign();
$campaign->setId($campaignId);
$campaign->setFinalUrlSuffix($finalURL);  
// Update operation.
$operation = new CampaignOperation();
    $operation->setOperand($campaign);
    $operation->setOperator(Operator::SET);
    $operations[] = $operation;
  // Make the mutate request.
  $result = $campaignService->mutate($operations);

Please help me to find this issue

Thanks and Regards

Sandeep cv

Bharani Cherukuri (AdWords API Team)

unread,
Jul 2, 2018, 3:45:38 PM7/2/18
to AdWords API and Google Ads API Forum
Hello Sandeep, 

Currently, the FinalURLSuffix is supported only for test accounts. Can you make sure that you're performing the mutate operation for a test account? If yes, could you please share the API SOAP logs so I can take a closer look? Please check this guide on how to enable logging for PHP client library. You can reply back via Reply privately to author option. 

Thanks,
Bharani, AdWords API Team

cvit sandeep

unread,
Jul 6, 2018, 2:44:56 AM7/6/18
to AdWords API and Google Ads API Forum
hi team,

I have replied my soap log files via  Reply privately to author option. Please check the log files and reply back.

Thanks and Regards 

sandeep cv 

Bharani Cherukuri (AdWords API Team)

unread,
Jul 6, 2018, 10:50:56 AM7/6/18
to AdWords API and Google Ads API Forum
Hello Sandeep, 

Thank you for sharing the logs. It looks like you're using a Production account to make the API call. This account has metrics and stats available for campaigns. Since test accounts don't serve ads, they will not have any metrics. Test accounts are marked with the test banner label as mentioned here in the UI. Can you re-try the API request again with a test account and let me know if you have any issues?

Regards,
Bharani, AdWords API Team
Reply all
Reply to author
Forward
0 new messages