What is: Policy Violation "Unwanted software"

2024-04-29 Thread David Scott
"details": { "policyViolationDetails": { "externalPolicyDescription": "Unwanted software", "key": { "policyName": "UNWANTED_SOFTWARE", "violatingText": "1985 Mitsubishi Mighty Max rebuilt transmissi

What is wrong with my code?

2024-02-27 Thread David Scott
$command = qq(curl -i -X POST \\ "https://googleads.googleapis.com/v16/customers/$Certified_Santee/adGroupAds:mutate"; \\ --header "Content-Type: application/json" \\ --header "developer-token: $developer_token" \\ --header "Authorization: Bearer $access_token" \\ --data ' {

invalid_request: Principal must be an email address

2019-11-25 Thread David Scott
A search shows no results. When I run python get_campaigns.py this is the response. "invalid_request: Principal must be an email address" What does this error mean? And, how do I solve it? David -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googlead

Re: invalid_request: Principal must be an email address

2019-11-25 Thread David Scott
I don't know what I did but after adding user = 'my email address' to yaml i am getting a new response: google.auth.exceptions.RefreshError: ('disabled_client: The OAuth client was disabled. David On Monday, November 25, 2019 at 1:29:36 PM UTC-5, David Scott wrote: &

Re: cURL error

2020-09-22 Thread David Scott
It means you either have a field or a destination error. Reduce the fields until the request succeeds then add fields back to find the offender. The documentation is poor to non-existent on this subject. If it is a destination error, there are instances when a process-specific destination is re

Re: Google Ads API Updated REST resources

2020-09-22 Thread David Scott
Here is my perl code that works: $command = qq(curl -X POST \\ https://googleads.googleapis.com/v5/customers/$customer/campaigns:mutate \\ -H 'Authorization: Bearer $access_token' \\ -H 'Content-Type: application/json' \\ -H 'developer-token: $DEVELOPER_TOKEN' \\ -H 'login-customer-id: $

Re: JSON for creating the Ad

2020-10-15 Thread David Scott
'resourceName' works for me. On Thursday, June 27, 2019 at 5:51:40 AM UTC-4 symb...@gmail.com wrote: > We're always grateful for Google Ads API Team's help. > > Well, I'd like to create the Ad via curl, so I post the following JSON to: > https://googleads.googleapis.com/v1/customers/5838476xxx/a

Why does this field not exist?

2020-07-16 Thread David Scott
If this field does exist I need to modify it. How can I do it? Request: "operations": [ { "updateMask": "campaign.geoTargetTypeSetting", "update": { "positive_geo_target_type": "PRESENCE" } } ] Response: { "error": { "code": 400, "message":

Re: Why does this field not exist?

2020-07-16 Thread David Scott
{ "@type": "type.googleapis.com/google.rpc.BadRequest", "fieldViolations": [ { "field": "operations[0].update", "description": "Invalid JSON payload received. Unknown name \"positive_geo_target_type\&quo

Re: Why does this field not exist?

2020-07-16 Thread David Scott
See: https://developers.google.com/google-ads/api/reference/rpc/v4/PositiveGeoTargetTypeEnum.PositiveGeoTargetType and: https://developers.google.com/google-ads/api/reference/rpc/v4/Campaign.GeoTargetTypeSetting David On Thursday, July 16, 2020 at 12:00:15 PM UTC-4, David Scott wrote: > &

I need to know the field name for budget amount

2020-07-18 Thread David Scott
Here is my code. When I havecampaign_budget.amount in the query the results say: "message": "Unrecognized field in the query: 'campaign_budget.amount'." I also tried Amount. The documentation says the field name is Amount but because I need to know what the budget amount is, I can't just ig

how to set geo_target_city for an ad group or ad

2020-08-05 Thread David Scott
I want to setup a campaign by subject and ad groups by geo_target_city. Hiw can I do that? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message becaus

I get this error no matter what I try to do.

2020-08-25 Thread David Scott
% Total% Received % Xferd Average Speed TimeTime Time Current Dload Upload Total SpentLeft Speed 100 6420 6420 0903 0 --:--:-- --:--:-- --:--:-- 904 sh: 8: -d: not found { "error": { "code": 400,

curl --data_raw doesn't work. neither does -d

2020-08-26 Thread David Scott
Request: From: https://developers.google.com/google-ads/api/docs/rest/example-workflow curl --request POST 'https://googleads.googleapis.com/v4/customers/{customer_id}/campaigns:mutate' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer {authorization_code}' \ --heade

Re: curl --data_raw doesn't work. neither does -d

2020-08-26 Thread David Scott
ot;, "status": "PAUSED" } }, { "updateMask": "status", "update": { "resourceName": "customers/{customer_id}/campaigns/{campaign_id2}", "status": "PAUSED&q