I should add that when I add resourceName, other errors occur. I don't have the ad_d since I am just creating it so I cannot supply it in this format:
customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id} On Friday, February 5, 2021 at 5:34:03 PM UTC-5 Jeff Moore wrote: > I get errors trying to create a text ad. Any help would be apprecicated! > > Request: > { > "operations": [ > { > "create": { > "ad": { > "name" : "new ad" > }, > "adGroup": "customers/3575308233/adGroups/115772299805 > <(577)%20229-9805>", > "status": "PAUSED" > > } > } > ] > } > Response: > { > "error": { > "code": 400, > "message": "Request contains an invalid argument.", > "status": "INVALID_ARGUMENT", > "details": [ > { > "@type": " > type.googleapis.com/google.ads.googleads.v6.errors.GoogleAdsFailure", > "errors": [ > { > "errorCode": { > "mutateError": "RESOURCE_NOT_FOUND" > }, > "message": "Resource was not found.", > "trigger": { > "stringValue": "<null>" > }, > "location": { > "fieldPathElements": [ > { > "fieldName": "operations", > "index": 0 > }, > { > "fieldName": "create" > }, > { > "fieldName": "resource_name" > } > ] > } > } > ] > } > ] > } > } > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/f1102c97-be47-42ed-ad43-2b6098377787n%40googlegroups.com.