Hello.

First of all: Sorry for my bad English.

We have created the option of booking Google Ads in our customer system. 
This is done via the Google Adwords API. Now we have several cases where 
the ad violates the guidelines and throws an error. e.g. a word was not 
allowed or a number was recognized as a telephone number.

We set up a validation based on this example:
https://developers.google.com/adwords/api/docs/samples/php/campaign-management#validate-text-ad-through-setvalidateonly-header

However, this seems to assume that an ad group exists:

Const AD_GROUP_ID = 'INSERT_AD_GROUP_ID_HERE';

Now I get the current AdGroups from the report and pick one with the status 
"enabled" in order to assign this ID to the AdGroupAd to have an existing 
AdGroupID.
But when I run the validation I got an error:

OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY @ 
operations [0]

what am I doing wrong here?
How can I validate the ad?
Is there another possibility with a temporary AdGroup or something similar?

Unfortunately, I'm still a bit new to the Google Adwords/Ads API. Some 
things are not so clear to me yet and I am a little perplexed right now.

Many thanks in advance for your help.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/478b00f1-16f9-41a4-a426-829efea94607n%40googlegroups.com.

Reply via email to