Hi Peter,

Yes, this can be done from the API. 
http://code.google.com/p/google-api-adwords-php/source/browse/trunk/examples/v201101/HandlePolicyViolationError.php
 shows 
a detailed code example on how to detect policy violations and add an 
exemptionRequest when uploading ads. A summarized version is that you have 
to try adding the ads with a validateOnly = true soap header, and if the 
server throws a PolicyViolationError with isExemptable = true (which is your 
case), then resubmit the ad with validateOnly = false and 
adgroupadoperation's exemptionRequests field filled properly.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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

Reply via email to