Required fields to add the new ImageAds.

2019-11-06 Thread T.Motodate
We tried to add new ImageAds using by the GoogleAds API Ver 2.2.0.

We used the below code :
```
$imageAdInfo = new ImageAdInfo([
'data' => new BytesValue(['value' => file_get_contents($image)]),
]);

$ad = new Ad([
'image_ad'   => $imageAdInfo,
'final_urls' => [
new StringValue(['value' => $urlFinal]),
],
]);

$adGroupAd = new AdGroupAd([
'ad_group' => $adGroupResourceName,
'status'   => AdGroupAdStatus::ENABLED,
'ad'   => $ad,
]);

$operationAdd = new AdGroupAdOperation();
$operationAdd->setCreate($adGroupAd);
$operations[] = $operationAdd;

…

$adGroupAdService->mutateAdGroupAds(GOOGLE_ADS_CUSTOMER_ID, $operations);
```

However, we got the following error message from API:
```
google-ads.WARNING: Request made: Host: "googleads.googleapis.com", Method: 
"/google.ads.googleads.v2.services.AdGroupAdService/MutateAdGroupAds", 
ClientCustomerId: XXX, RequestId: "", IsFault: 1, FaultMessage: 
"["The required field was not present.","A required field was not specified 
or is an empty string."]"
```

So, we want to know the required fields to add the new ImageAd.
However, we couldn't find the information about this.

Could you please tell us the required fields in the above case?

Best Regards.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e58d46a2-7ce2-49a3-9417-d56dc0cd456c%40googlegroups.com.


The required fields to add ImageAds.

2019-11-06 Thread T.Motodate
We tried to add new ImageAds using by the GoogleAds API Ver 2.2.0.

We used the below code :
```
$imageAdInfo = new ImageAdInfo([
'data' => new BytesValue(['value' => file_get_contents($image)]),
]);

$ad = new Ad([
'image_ad'   => $imageAdInfo,
'final_urls' => [
new StringValue(['value' => $urlFinal]),
],
]);

$adGroupAd = new AdGroupAd([
'ad_group' => $adGroupResourceName,
'status'   => AdGroupAdStatus::ENABLED,
'ad'   => $ad,
]);

$operationAdd = new AdGroupAdOperation();
$operationAdd->setCreate($adGroupAd);
$operations[] = $operationAdd;

…

$adGroupAdService->mutateAdGroupAds(GOOGLE_ADS_CUSTOMER_ID, $operations);
```

However, we got the following error message from API:
```
google-ads.WARNING: Request made: Host: "googleads.googleapis.com", Method: 
"/google.ads.googleads.v2.services.AdGroupAdService/MutateAdGroupAds", 
ClientCustomerId: 1336187070, RequestId: "r1r1aOyWKUqQhqEE82kJbQ", IsFault: 
1, FaultMessage: "["The required field was not present.","A required field 
was not specified or is an empty string."]"
```

So, we want to know the required fields to add the new ImageAd.
However, we couldn't find the information about this.

Could you please tell us the required fields in the above case?

Best Regards.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7eb10cf6-e26c-49be-9824-ccfa5023bcbc%40googlegroups.com.


How can I get my active account_bugdet only?

2019-11-06 Thread min jia
Hi, Team


The only account_budget active in my google-ads management UI  backend is 
as below showed (as attachment gg1024.png showed):




{
"account_id":,
"account_budget_id":xx,
"account_budget_name":"BlueFocus International Limited - 
2018年12月27日",
"account_budget_status":"APPROVED",
"approved_start_date_time":20181227,
"approved_end_date_time":null,
"approved_end_time_type":"FOREVER",
"approved_spending_limit_type":"UNSPECIFIED",
"approved_spending_limit_micros":1000,
"adjusted_spending_limit_micros":1200,
"amount_served_micros":12230
}



But when I want to get all account_budgets under my account , 
I got results below, I‘m using GASQL



query = """
   SELECT
 customer.id,
 account_budget.id,
 account_budget.name,
 account_budget.status,
 account_budget.approved_end_date_time,
 account_budget.approved_start_date_time,
 account_budget.approved_spending_limit_micros,
 account_budget.adjusted_spending_limit_micros,
 account_budget.approved_spending_limit_type,
 account_budget.approved_end_time_type,
 account_budget.amount_served_micros,
 
 account_budget.pending_proposal.creation_date_time,
 account_budget.pending_proposal.proposal_type,
 account_budget.resource_name,
 account_budget.total_adjustments_micros,
 billing_setup.payments_account_info.payments_account_id
FROM
account_budget


WHERE account_budget.approved_end_time_type = 'FOREVER'
AND account_budget.status = 'APPROVED'

ORDER BY
 account_budget.approved_start_date_time DESC

LIMIT
100
"""




[
{
"account_id":xx ,
"account_budget_id":xx ,
"account_budget_name":"BlueFocus International Limited - 
2018年12月27日",
"account_budget_status":"APPROVED",
"approved_start_date_time":20181227,
"approved_end_date_time":null,
"approved_end_time_type":"FOREVER",
"approved_spending_limit_type":"UNSPECIFIED",
"approved_spending_limit_micros":1000,
"adjusted_spending_limit_micros":*1200*,
"amount_served_micros":12230
},
{
"account_id":xx  ,
"account_budget_id":m  ,
"account_budget_name":"",
"account_budget_status":"APPROVED",
"approved_start_date_time":20170814,
"approved_end_date_time":null,
"approved_end_time_type":"FOREVER",
"approved_spending_limit_type":"INFINITE",
"approved_spending_limit_micros":0,
"adjusted_spending_limit_micros":-1,
"amount_served_micros":123456
}
]


How can I get the active account_budget only?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/681c3410-127a-4d2f-a973-cc6e3626ab24%40googlegroups.com.


Creating Campaigns with incomplete information

2019-11-06 Thread Pradeep Datla
Hi,

I came across in-progress campaigns in Google Ads UI - when creating smart 
campaigns. can i create a Search campaign with incomplete data through API? 
we are working on a product which has a multi step UI to successfully 
create a campaign.

[image: adprogress.JPG]


Thank You,
Pradeep Datla.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/182e76dc-0265-44fc-854e-2e2fc413e79d%40googlegroups.com.


Sandbox or Sample Data for Campaign Performance

2019-11-06 Thread Pradeep Datla
Hi

Is there a way to get sample performance data for campaigns for development 
and testing. I want to get data like Clicks, Impressions, Avg CPC, cost, 
search terms, gender, age, etc.,
The campaigns we create in Test account does not have any data and we are 
looking for sample data for different scenarios.

Thank You,
Pradeep Datla.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2e6ce7f0-38fd-482a-be4d-84840827f7d5%40googlegroups.com.


RE: How to Create Smart Campaign through API

2019-11-06 Thread Google Ads API Forum Advisor Prod
Hi Pradeep,

Thanks for reaching out. Currently, the Smart Campaign for Search Network is 
not supported in the API. However, if you would like to create the Smart 
Display Campaign with the Adwords API you could refer to this guide. Please let 
me know if you have any further concerns.

Thanks and regards,
Xiaoming, Google Ads API Team
ref:_00D1U1174p._5001UMWU88:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/moVMF0Q0KJT300P_vrRU3rRIOyXEzVixJf1Q%40sfdc.net.


REST endpoint for customer_client as an alternative to listAccessibleCustomers

2019-11-06 Thread 'Ky Nguyen' via AdWords API and Google Ads API Forum
I'm currently working within App Script (no client libraries) that requires 
me to use the new Google Ads API to fetch all accounts within a customer's 
hierarchy upon authenticating via OAuth2. My current implementation uses 
the listAccessibleCustomers endpoint 
https://googleads.googleapis.com/v1/customers:listAccessibleCustomers but 
this of course only returns accounts that are directly accessible by the 
authenticating user. I've looked through the API reference and it seems 
like the only possible alternative is to use the customer_client API to 
retrieve every account linked to the authenticating user, but all of the 
example code relies on client libraries and what I'd need is a URL that I 
can make a request to with App Script. Any help on this would be greatly 
appreciated!

Thanks,
Ky

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7b44b988-5fda-4762-898d-17f8bafd6348%40googlegroups.com.


RE: [RangeError.TOO_LOW @ operations[0].operand.id.id]

2019-11-06 Thread Google Ads API Forum Advisor Prod
Hello Erik,

Thank you for reaching out. The error RangeError.TOO_LOW is observed when the 
value is too low than the minimum allowed for this field. This error may occurs 
when you do not specify an id, which results in a value of 0 being passed in. 
Could you please share the complete request and response logs along with the 
client customer id for me to investigate this further? Please use Reply 
privately to author option while sharing the details.

Regards,
Nikisha Patel, Google Ads API Team
ref:_00D1U1174p._5001UMWUMo:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/KmFPt0Q0KIYQ00VnbIGGIzSdCo0X-QynKkcg%40sfdc.net.


RE: Google Ads GeoTargeting Not Providing Correct IDs

2019-11-06 Thread Google Ads API Forum Advisor Prod
Hello Charles,

Could you please confirm if it is the case for all the the results that you are 
getting via {loc_physical_ms} or for only a specific locations? Please share 
those details using reply privately to the author option.

Regards,
Sai Teja, Google Ads API Team
ref:_00D1U1174p._5001UMWTcg:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/z-ugZ0Q0KICU00BBOiQRJmTAaQgOBXaBJnqA%40sfdc.net.


RE: Populating a CrmBasedUserList with members identified by email only increases sizeForSearch, not size.

2019-11-06 Thread Google Ads API Forum Advisor Prod
Hello,

Thank you for sharing your concerns with us. To clarify this better, the user 
list size will show as zero until the list has at least 1,000 members for 
privacy purposes. After that, the size will be rounded to the two most 
significant digits. Also, it takes 6 to 12 hours for a list to be populated 
with members. Please refer to this guide for more information. Let us know if 
you still have any concerns.

Regards,
Nikisha Patel, Google Ads API Team
ref:_00D1U1174p._5001UMWSKl:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/Yt_B70Q0KI3S00WogpoidMSzS7sP3e29kOCg%40sfdc.net.


ERROR API ADWORDS - [RangeError.TOO_LOW @ operations [0] .operand.id.id] - URL API - https://github.com/tmarois/laravel-ads-sdk/blob/9092768c663527e9e27fe89f6add7e858ca5276c/GoogleAds-SDK.md#campaigns

2019-11-06 Thread Erik Badaro
I am trying to create a campaign by adwords api, when I try to insert the 
following error appears: [RangeError.TOO_LOW @ operations [0] .operand.id.id
]

URL API: 
https://github.com/tmarois/laravel-ads-sdk/blob/9092768c663527e9e27fe89f6add7e858ca5276c/GoogleAds-SDK.md#campaigns
 

 
follows code:

$googleAds = LaravelAds::googleAds()->with($customerClientId);
$campaignService = $googleAds->campaign(Campaign::class);

$campaigns = $googleAds->setId()
->setName('TCC | TCC| TCC | TCC | TCC | TCC')
->setBudget(0)
->save();

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/61768273-2738-4fae-8fa7-12a18bb5a055%40googlegroups.com.


[RangeError.TOO_LOW @ operations [0] .operand.id.id] - API - https://github.com/tmarois/laravel-ads-sdk/blob/9092768c663527e9e27fe89f6add7e858ca5276c/GoogleAds-SDK.md#campaigns

2019-11-06 Thread Erik Badaro
I am trying to create a campaign by adwords api, when I try to insert the 
following error appears: [RangeError.TOO_LOW @ operations [0] .operand.id.id
]

URL API: 
https://github.com/tmarois/laravel-ads-sdk/blob/9092768c663527e9e27fe89f6add7e858ca5276c/GoogleAds-SDK.md#campaigns
 
follows code:

$googleAds = LaravelAds::googleAds()->with($customerClientId);
$campaignService = $googleAds->campaign(Campaign::class);

$campaigns = $googleAds->setId()
->setName('TCC | TCC| TCC | TCC | TCC | TCC')
->setBudget(0)
->save();

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ddc317f4-3ac7-4698-af3c-6e1b97ccb51d%40googlegroups.com.


RE: ad_group_ad_asset_view returning no data

2019-11-06 Thread Google Ads API Forum Advisor Prod
Hi Benjamin,

Thank you for writing to us regarding your concern. The shared report query 
looks correct and you should be able to get the performance labels via API if 
they are available in your Google Ads account. I can help you to look into this 
further, if you could send us the client customer id against which you are 
making this API request call. Please use Reply privately to author option while 
sharing the details.

Regards,
Nikisha Patel, Google Ads API Team
ref:_00D1U1174p._5001UMWR0B:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/vDxOM0Q0KFXU00LTcn7SjBREW-ktJb2ofVhA%40sfdc.net.


error api [RangeError.TOO_LOW @ operations [0] .operand.id.id]

2019-11-06 Thread Erik Badaro

I am trying to create a campaign by adwords api, when I try to insert the 
following error appears: [RangeError.TOO_LOW @ operations [0] 
.operand.id.id] follows code:

$googleAds = LaravelAds::googleAds()->with($customerClientId);
$campaignService = $googleAds->campaign(Campaign::class);

$campaigns = $googleAds->setId()
->setName('TCC | TCC| TCC | TCC | TCC | TCC')
->setBudget(0)
->save();

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/69a34dca-c708-4be5-b5b0-b64a66ce6d9b%40googlegroups.com.


RE: how to add label to ad group and keyword using then new Google Ads api?

2019-11-06 Thread Google Ads API Forum Advisor Prod
Hi Andryushka,


Thank you for reaching out. Please see this guide for migrating AdWords API 
services to Google Ads API services. As it says, to add a label to an AdGroup, 
you need to use the AdGroupAdLabelService mutate command. For keywords, you can 
use the AdGroupCriterionLabelService mutate command. Though there are no 
examples provided in the documentation, you should be able to follow a similar 
format as the AdWords examples but with the Google Ads services. Let me know if 
you're able to figure this out.


Regards,

Mitchell

Google Ads API Team
ref:_00D1U1174p._5001UMWTkQ:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/aPAvK0Q0KFRZ009jyXQB4xTGuSLA4DQnMmNg%40sfdc.net.


[RangeError.TOO_LOW @ operations[0].operand.id.id]

2019-11-06 Thread Erik Badaro

I am trying to create a campaign by adwords api, when I try to insert the 
following error appears: [RangeError.TOO_LOW @ operations [0] 
.operand.id.id] follows code:

$googleAds = LaravelAds::googleAds()->with($customerClientId);
$campaignService = $googleAds->campaign(Campaign::class);

$campaigns = $googleAds
->setName('TCC | TCC| TCC | TCC | TCC | TCC')
->setBudget(0)
->save();

laravel php

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/84bb12d8-61a1-46b6-b680-0a446468bc4c%40googlegroups.com.


How to Create Smart Campaign through API

2019-11-06 Thread Pradeep Datla
Hi,

I want to create a smart campaign (not Smart display campaign)which google 
ads ui provides. I have attached a screenshot for clarity.

Is it possible to create a Smart Campaign using Google Adwords API or using 
the latest beta api ? 


[image: GoogleSmartAd.JPG]


Thank You,
Pradeep Datla.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/332ecd97-4af7-49e5-985b-b81a54f93fb3%40googlegroups.com.


Re: how to add label to ad group and keyword using then new Google Ads api?

2019-11-06 Thread andryushka x
oh specifically, api version v2 -- ty!

On Wednesday, November 6, 2019 at 11:47:05 AM UTC-8, andryushka x wrote:
>
> Hi -- are there examples or guides for this? I see some for adwords but 
> not sure where they are for the google ads api
>
> thanks
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b0fb206d-2a03-47a3-9c5b-ab145575227e%40googlegroups.com.


how to add label to ad group and keyword using then new Google Ads api?

2019-11-06 Thread andryushka x
Hi -- are there examples or guides for this? I see some for adwords but not 
sure where they are for the google ads api

thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4bb39606-abbc-4c29-b7d5-d1cfcda1664f%40googlegroups.com.


Google Ads GeoTargeting Not Providing Correct IDs

2019-11-06 Thread Charles Michael
Hi,

I'm using the value track {loc_physical_ms} in my finalurl to track the 
geolocation but the ID's that we are receiving from Google are not what we 
are targeting. In our campaign settings, we are targeting thousands of 
city's from the geolocation database found here: 
https://developers.google.com/adwords/api/docs/appendix/geotargeting but the 
ids that google is sending to us via {loc_physical_ms} are not for cities 
that we are targeting but for postalcodes within those cities. Is there a 
way to accurately get just the geolocation that we were targeting (ie: just 
the geolocation targets that we submitted)? 

Thank you


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/69c631da-20f7-438e-8316-c12c46ebb76a%40googlegroups.com.


Re: KeywordID Different For Same Keyword

2019-11-06 Thread Charles Michael
Hi, unfortunately we need the criteriaID (keyword ID) and not just the 
adgroup/campaign id's. We're trying to track revenues / expenses by keyword 
and while we can pass this id via a valuetrack variable in the finalurl 
({targetid}), we are having a hard time creating reports when the same 
keyword maps to multiple criteriaID's. Is there another way to track 
keywords where the same keyword has a unique ID of some sort? 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/76b1cc20-efd5-4348-bba8-750c59824b38%40googlegroups.com.


RE: can not create Display Upload Ads in Display Campaign it is giving access denide exception

2019-11-06 Thread Google Ads API Forum Advisor Prod
Hello Rakesh,

Thank you for sharing the logs. To start with the errors you're receiving, 
could you please confirm if the account using a refresh token with an email has 
read-only access? The error usually occurs if the user does not have sufficient 
permissions to make changes to the account. Could you please confirm if the 
other mutate calls are working fine? If you could share the email address used 
for generating the OAuth credentials and the client customer Id, I will happy 
to take a look. You can share the details privately via Reply privately to 
author option.

Regards,
Bharani, Google Ads API Team
ref:_00D1U1174p._5001UMWP8O:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/w97hY0Q0KB7X00KcoBubDdSeOxK6zEg9vlfQ%40sfdc.net.


Re: Which REPORT can I use to pull house range data?

2019-11-06 Thread Google Ads API Forum Advisor Prod
Hi Bing,

Sure, you may find the sample query below to filter based on income range.

__rdquery: SELECT CampaignId, AdGroupId, Id, Criteria, CriteriaType, 
Impressions, Clicks, Cost FROM CRITERIA_PERFORMANCE_REPORT WHERE CriteriaType 
IN ["INCOME_RANGE"] DURING LAST_7_DAYS

The AdWords API reports currently supports the old UI. Please note that based 
on this article Household Income is only supported for Video Campaigns in the 
old UI and it is supported for Display, Search and Video campaigns in the New 
UI. In your case, if you don't have any video campaigns you may not see the 
income range metrics.

Let me know if you have any further questions.

Thanks,
Bharani, Google Ads API Team
ref:_00D1U1174p._5001UMWJbB:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/KQmyk0Q0K9ZF000x61x3mjQHmhf_Gfmd0PZg%40sfdc.net.


Populating CrmBasedUserList with members identified by email only increases sizeForSearch, not size.

2019-11-06 Thread Glib Tykhonov
Hello. I'm currently developing trying to set up a mechanism for populating 
a CrmBasedUserList with our registered users using their emails. But after 
i've added 1000 users using api and executed a get request i've noticed 
that newly added users only increased the sizeForSearch, not size.
E.g.
CrmBasedUserList{accessReason=OWNED, accountUserListStatus=ACTIVE, 
dataSourceType=FIRST_PARTY, 
dataUploadResult=DataUploadResult{uploadStatus=SUCCESS}, description=, 
id=***, isEligibleForDisplay=true, isEligibleForSearch=true, 
isReadOnly=false, listType=CRM_BASED, membershipLifeSpan=1, 
name=, size=1300, sizeForSearch=1900, 
sizeRange=ONE_THOUSAND_TO_TEN_THOUSAND, 
sizeRangeForSearch=ONE_THOUSAND_TO_TEN_THOUSAND, status=OPEN, 
uploadKeyType=CONTACT_INFO, userListType=CrmBasedUserList}

(the 1300 users were previously added without using api)

I'm using a code such as this: 

public void addUserToList(String email) {
AdwordsUserListServiceInterface userListService = 
userListServiceProvider.getNewUserListService();

Member member = new Member();
member.setHashedEmail(normalizeAndHash(email));

MutateMembersOperation mutateMembersOperation = new 
MutateMembersOperation();
MutateMembersOperand mutateMembersOperand = new MutateMembersOperand();
mutateMembersOperand.setUserListId(remarketingUserListId);
mutateMembersOperand.setMembersList(new Member[] {member});
mutateMembersOperation.setOperand(mutateMembersOperand);
mutateMembersOperation.setOperator(Operator.ADD);
try {
userListService.mutateMembers(new MutateMembersOperation[] 
{mutateMembersOperation});
} catch (RemoteException ex) {
throw new AdWordsClientException("Caught exception while trying to add 
user to adwords users list", ex);
}
}



Couldn't find a reason for this so far. Any suggestions?

Thanks.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2c956002-27cf-48cc-af29-b320f5532240%40googlegroups.com.


Populating a CrmBasedUserList with members identified by email only increases sizeForSearch, not size.

2019-11-06 Thread Glib Tykhonov
Hello. I'm currently developing trying to set up a mechanism for populating 
a CrmBasedUserList with our registered users using their emails. But after 
i've added 1000 users using api and executed a get request i've noticed 
that newly added users only increased the sizeForSearch, not size.
E.g.
CrmBasedUserList{accessReason=OWNED, accountUserListStatus=ACTIVE, 
dataSourceType=FIRST_PARTY, 
dataUploadResult=DataUploadResult{uploadStatus=SUCCESS}, description=, 
id=859966721, isEligibleForDisplay=true, isEligibleForSearch=true, 
isReadOnly=false, listType=CRM_BASED, membershipLifeSpan=1, 
name=test_gmail, size=1300, sizeForSearch=1900, 
sizeRange=ONE_THOUSAND_TO_TEN_THOUSAND, 
sizeRangeForSearch=ONE_THOUSAND_TO_TEN_THOUSAND, status=OPEN, 
uploadKeyType=CONTACT_INFO, userListType=CrmBasedUserList}

(the 1300 users were previously added without using api)

I'm using a code such as this: 

public void addUserToList(String email) {
AdwordsUserListServiceInterface userListService = 
userListServiceProvider.getNewUserListService();

Member member = new Member();
member.setHashedEmail(normalizeAndHash(email));

MutateMembersOperation mutateMembersOperation = new 
MutateMembersOperation();
MutateMembersOperand mutateMembersOperand = new MutateMembersOperand();
mutateMembersOperand.setUserListId(remarketingUserListId);
mutateMembersOperand.setMembersList(new Member[] {member});
mutateMembersOperation.setOperand(mutateMembersOperand);
mutateMembersOperation.setOperator(Operator.ADD);
try {
userListService.mutateMembers(new MutateMembersOperation[] 
{mutateMembersOperation});
} catch (RemoteException ex) {
throw new AdWordsClientException("Caught exception while trying to add 
user to adwords users list", ex);
}
}



Couldn't find a reason for this so far. Any suggestions?

Thanks.




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/cf468219-ceb5-46e1-902d-08d440f12fb1%40googlegroups.com.


RE: KeywordID Different For Same Keyword

2019-11-06 Thread Google Ads API Forum Advisor Prod
Hi Charles,

The keyword Id may or may not be the same, as the criteria Id is not globally 
unique. However, while generating the reports you may use the (AdGroupId, 
CriterionId) or the (CampaignId, CriterionId) pairs which are globally unique. 
Please refer to this guide for more information. Let me know if you have any 
further questions.

Regards,
Bharani, Google Ads API Team
ref:_00D1U1174p._5001UMWMCn:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/pOXpx0Q0K4EE00LQemA9bwQ2Ghvx-caErDtA%40sfdc.net.


RE: 500 Internal Errors when requesting customers under an MCC from customer_client

2019-11-06 Thread Google Ads API Forum Advisor Prod
Hi Benjamin,


Thank you for reaching out. Please follow this example for getting all the 
client accounts under an MCC account. If that doesn't work, please provide the 
complete request and response logs via reply privately to author. I'm not sure 
which client library you're using, but here is a guide on how to enable logging 
in the Java client library.


Regards,

Mitchell

Google Ads API Team
ref:_00D1U1174p._5001UMWQRG:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6x8hh0Q0K4FD00bfaMhAx1Q0yj-eTciNRk-w%40sfdc.net.


Re: 201909 API Sunset exact dates

2019-11-06 Thread Google Ads API Forum Advisor Prod
Hello Rebecca,

As of now the sunset date is not available for the AdWords API v201909. When 
the date is available an announcement must be made in our blog. Please keep an 
eye on our blog for the updates on Google Ads API/AdWords API.

Regards,
Sai Teja, Google Ads API Team
ref:_00D1U1174p._5001UBl8VE:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1Hc-g0Q0K2LV00tWYVs5vNSjuN7luEKGQE4w%40sfdc.net.


Re: StringLengthError.TOO_LONG for userDataRule.ruleString

2019-11-06 Thread Mark
Hey Mitchell,

Replying to your response here. Were you successfully able to create a user 
list with all 246 items? I have tried to use only the last 4 URLs, and a 
user list was created successfully. 
According to the documentation 
,
 
a RuleItemGroup may contain up to 1000 entries. Are there any other limits 
we need to be aware of? We have another case where the creation fails for 
236 items. 

We have also tried to circumvent the issue by using disjunctive RuleType, 
and adding a single RuleItem in each group (which would effectively be the 
same), but it fails with the same error for even less URLs.

It would be important to know what the limit exactly is so that we could 
come up with an alternate solution eg. some kind of "paging" for user 
lists. 

Could you please look into it?

Thanks,
Mark

On Monday, November 4, 2019 at 7:53:56 PM UTC+1, adsapiforumadvisor wrote:
>
> Hi Mark,
>
>  
>
> Thank you for reaching out. Can you please provide the complete SOAP logs 
> of you API request via *reply privately to author *so that I can 
> investigate further?  I'm not sure which client library you're using, but 
> here is a guide 
>  on how to 
> enable logging in the Java client library.
>
> Regards,
> Mitchell
> Google Ads API Team
>
>
> ref:_00D1U1174p._5001UMWAzH:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/66b8b324-6af7-4a20-95c2-a7c6d53cfd92%40googlegroups.com.


RE: Adding Phone Numbers & UserID to remarketing list via API

2019-11-06 Thread Google Ads API Forum Advisor Prod
Hi Darren,


Thank you for reaching out. Can you please provide the complete SOAP request 
and response logs of the API request with phone numbers and userID via reply 
privately to author so that I can investigate further? See here for information 
on enabling logging. Please make sure you have followed the phone number 
guidelines specified here specifically the required format of the phone number. 
You are correct that creating a Member of the list for phone number or userId 
is the same process as creating one with email.


Regards,

Mitchell

Google Ads API Team
ref:_00D1U1174p._5001UMWLpF:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/My_cu0Q0JZYH00KlxtS2rKR3uPvGmRL7ih9w%40sfdc.net.


ad_group_ad_asset_view returning no data

2019-11-06 Thread Benjamin Ryves
I'm trying to use the ad_group_ad_asset_view to return performance_label 
values, however I don't get any data.

Sample query:

SELECT asset.id, ad_group_ad_asset_view.performance_label , ad_group.status, 
metrics.impressions FROM ad_group_ad_asset_view WHERE segments.date DURING 
LAST_7_DAYS AND ad_group.status = 'ENABLED' LIMIT 100

I would expect data, as I can see it in the UI.

If it helps, this is definitely reaching to the API, as inserting an 
incorrect field gives me an error.


-- 








GetYourGuide AG

Stampfenbachstrasse 48  

8006 Zürich

Switzerland



   
  
  
  








-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5955c44e-4198-4520-9820-771e06304b81%40googlegroups.com.


500 Internal Errors when requesting customers under an MCC from customer_client

2019-11-06 Thread Benjamin Ryves
As described in the topic, we're unable to get a list of customer accounts 
from the customer_client resource.

Using GoogleAdService with our MCC account

The query is as follows:
SELECT customer_client.descriptive_name FROM customer_client

Returning a 500: Internal error (consistent across multiple tries).

-- 








GetYourGuide AG

Stampfenbachstrasse 48  

8006 Zürich

Switzerland



   
  
  
  








-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6286827f-f49c-4d58-8a09-feaa290bc9a3%40googlegroups.com.


Old budget in new campaign

2019-11-06 Thread Ichiba Team
How I can access budgets, created throw AdWords API methods in Google Ads 
API calls?
If budget created in Google Ads API, it can be selected by

resource_name = 'customers/4380668749/campaignBudgets/6595135879'

ga_service = client.get_service('GoogleAdsService', version='v2')
query = ('SELECT campaign_budget.id, campaign_budget.name, '
 'campaign_budget.resource_name FROM campaign_budget WHERE '
 'campaign_budget.resource_name = "{}"'.format(resource_name))

But for budgets created in Adwords API v201809 it can not be selected.
Query result is empty.
Direct API call also fails with error "Resource not found".

resource_name = 'customers/4380668749/campaignBudgets/6595135879'

campaign_service = client.get_service('CampaignBudgetService', version='v2')
budget = campaign_service.get_campaign_budget(resource_name)

Response:

Request made: ClientCustomerId: None, Host: googleads.googleapis.com:443, 

Method: 
/google.ads.googleads.v2.services.CampaignBudgetService/GetCampaignBudget, 
RequestId: Q9BEd1fnj8P_0Z4A6j8KDA, IsFault: True, 

FaultMessage: Resource not found.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/df5fcde5-fc13-4693-a208-a258b446632f%40googlegroups.com.


can not create Display Upload Ads in Display Campaign it is giving access denide exception

2019-11-06 Thread Rakesh Chauhan
Hello sir or mem,

i am trying to create Display Upload Ads in Display Campaign but i can't 

here below is the exception which i phase during  creating Display upload 
Ad in Display Campaign
===



com.google.ads.googleads.v2.errors.GoogleAdsException: errors {
  error_code {
request_error: UNKNOWN
  }
  message: "The error code is not in this version."
  trigger {
string_value: ""
  }
  location {
field_path_elements {
  field_name: "operations"
  index {
  }
}
field_path_elements {
  field_name: "create"
}
field_path_elements {
  field_name: "ad"
}
field_path_elements {
  field_name: "display_upload_ad"
}
field_path_elements {
  field_name: "media_bundle"
}
field_path_elements {
  field_name: "asset"
}
  }
}
errors {
  error_code {
operation_access_denied_error: ACTION_NOT_PERMITTED
  }
  message: "Unauthorized invocation of a service\'s method (get, mutate, 
etc.)"
  trigger {
string_value: ""
  }
  location {
field_path_elements {
  field_name: "operations"
  index {
  }
}
field_path_elements {
  field_name: "create"
}
field_path_elements {
  field_name: "ad"
}
field_path_elements {
  field_name: "display_upload_ad"
}
  }
}
errors {
  error_code {
field_error: REQUIRED
  }
  message: "The required field was not present."
  trigger {
string_value: ""
  }
  location {
field_path_elements {
  field_name: "operations"
  index {
  }
}
field_path_elements {
  field_name: "create"
}
field_path_elements {
  field_name: "ad"
}
field_path_elements {
  field_name: "name"
}
  }
}

at 
com.google.ads.googleads.v2.errors.GoogleAdsException$Factory.createException(GoogleAdsException.java:42)
at 
com.google.ads.googleads.v2.errors.GoogleAdsException$Factory.createException(GoogleAdsException.java:34)
at 
com.google.ads.googleads.lib.BaseGoogleAdsException$Factory.createGoogleAdsException(BaseGoogleAdsException.java:105)
at 
com.google.ads.googleads.lib.GoogleAdsExceptionTransformation.transform(GoogleAdsExceptionTransformation.java:35)
at 
com.google.ads.googleads.lib.ExceptionTransformingCallable$ExceptionTransformingFuture.onFailure(ExceptionTransformingCallable.java:83)
at com.google.api.core.ApiFutures$1.onFailure(ApiFutures.java:68)
at com.google.common.util.concurrent.Futures$4.run(Futures.java:1123)
at 
com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:435)
at 
com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:900)
at 
com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:811)
at 
com.google.common.util.concurrent.AbstractFuture.setException(AbstractFuture.java:675)
at 
com.google.api.core.AbstractApiFuture$InternalSettableFuture.setException(AbstractApiFuture.java:95)
at 
com.google.api.core.AbstractApiFuture.setException(AbstractApiFuture.java:77)
at 
com.google.api.gax.grpc.GrpcExceptionCallable$ExceptionTransformingFuture.onFailure(GrpcExceptionCallable.java:97)
at com.google.api.core.ApiFutures$1.onFailure(ApiFutures.java:68)
at com.google.common.util.concurrent.Futures$4.run(Futures.java:1123)
at 
com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:435)
at 
com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:900)
at 
com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:811)
at 
com.google.common.util.concurrent.AbstractFuture.setException(AbstractFuture.java:675)
at io.grpc.stub.ClientCalls$GrpcFuture.setException(ClientCalls.java:515)
at 
io.grpc.stub.ClientCalls$UnaryStreamToFuture.onClose(ClientCalls.java:490)
at 
io.grpc.PartialForwardingClientCallListener.onClose(PartialForwardingClientCallListener.java:39)
at 
io.grpc.ForwardingClientCallListener.onClose(ForwardingClientCallListener.java:23)
at 
io.grpc.ForwardingClientCallListener$SimpleForwardingClientCallListener.onClose(ForwardingClientCallListener.java:40)
at 
com.google.ads.googleads.lib.logging.LoggingInterceptor$1$1.onClose(LoggingInterceptor.java:111)
at 
io.grpc.PartialForwardingClientCallListener.onClose(PartialForwardingClientCallListener.java:39)
at 
io.grpc.ForwardingClientCallListener.onClose(ForwardingClientCallListener.java:23)
at 
io.grpc.ForwardingClientCallListener$SimpleForwardingClientCallListener.onClose(ForwardingClientCallListener.java:40)
at 
io.grpc.internal.CensusStatsModule$StatsClientInterceptor$1$1.onClose(CensusStatsModule.java:700)
at 
io.grpc.PartialForwardingClientCallListener.onClose(PartialForwardingClientCallListener.java:39)
at 
io.grpc.ForwardingClientCallListener.onClose(ForwardingClientCallListener.java:23)
at 
io.grpc.ForwardingClientCallListener$SimpleForwardingClientCallListener.onClose(ForwardingClientCallListener.java:40)
at 

Re: 201909 API Sunset exact dates

2019-11-06 Thread Rebecca Hokayem
Hi,

Would you be able to provide us with an estimate of when roughly the sunset 
might happen? as in between which months of 2020.
It was mentioned in the Google Ads API workshop that the Adwords v201909 
will sunset early 2020.

Thank you,
Rebecca



On Thursday, 17 October 2019 15:42:34 UTC+1, adsapiforumadvisor wrote:
>
> Hello Pavel,
>
> Sunset date fro v201909 is not yet available. Once it is decided you can 
> find it in our blog 
> . 
> Please let me know if you have any further questions.
>
> Regards,
> Sai Teja, Google Ads API Team
>
> ref:_00D1U1174p._5001UBl8VE:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b43ca970-22da-4e8e-aa5f-ebeb6c1442e4%40googlegroups.com.


Re: Connecting Google Ads API to Filemaker (2 questions)

2019-11-06 Thread Zweitze
You may want to consider Google Ads Scripts, combined with Google Sheets. I 
do assume that you can find some solution for FileMaker and Google Sheets?

I am pretty sure that ready-made Ads scripts are available to generate a 
Google Ads report and save the results in a sheet, which you can process 
further after moving that sheet to FileMaker.
Otherwise, you may find a way to move data from FileMaker to Google Sheets. 
Then you may find a script that changes the Google Ads account accordingly.

Hope this helps.


On Tuesday, November 5, 2019 at 3:16:31 PM UTC+1, Steve Bell wrote:
>
> Hello Google Ads API Group:
>
> We were approved to utilize the Google Ads API in order to create reports, 
> and manage campaigns through the API.  We're looking at building, or at 
> least prototyping some of our internal solutions using Filemaker 18.  My 
> two questions related to that are:
>
> 1) I don't find much after searching google, youtube, this group, and the 
> Google Ads scripting group for "google ads api filemaker".  If you take 
> "ads" out of my search query, there plenty of solutions are out there for 
> getting Filemaker to talk to generic Google (Gmail, etc) accounts - to do 
> things like get contacts and appointments.  But for paid Google Ads 
> accounts, using the API it is slim pickings.  So would much appreciate info 
> from anyone knows whether this is "a thing", perhaps off in some obscure 
> Filemaker shop or app(s).  
>
> I do find generic API solutions, e.g. cdata, Supermetrics etc but - those 
> are more generic middleware services which connect to the API; the cost of 
> using them is proportional to the quantity of data through them - hundreds 
> per month and up.  Surely that isn't needed, just to get data out of the 
> API which isn't much more than what can be exported manually in csv format; 
> wouldn't make sense.  
>
> Anyway I'm not looking for paid monthly solutions that do the OAuth or 
> data warehousing.  Our solutions are fairly simple, at least inititally - 
> automated/API versions of what can be done manually either within Google 
> Ads, using simple scripts, or manual daily exports and Excel.  We want to 
> start by automating those manual tasks in Filemaker, to run once/day, for 
> the learning curve before we try anything more complex; and to save time on 
> reporting. We might need to purchase a module to do the Oauth 
> authentication, or something like that - looks like it can be tricky from 
> what i've read - but we don't want an expensive recurring paid service, 
> just to get started. 
>
> 2) I have a CS Education but haven't coded for years, and don't know the 
> best way to approach learning about the API, short of the dreaded RTFM :) 
> -- (the Google Ads API spec, yes i will study that) what is the best way to 
> gain a better understanding of this?  If you can point me at any books, 
> YouTube videos, or online resources which might be particularly helpful, 
> i'd appreciate it.  I'm a marketer (digital advertising) technical oriented 
> business person; however i do am an EE/Masters in CS, and enjoy messing 
> around with scripting languages, etc - i'm technically oriented but not a 
> developer. Or, as a software professional might say, "a total hack" :)
>
> Thanks in advance for info &/or suggestions --
>
> Steve B. 
> Blastoff Labs, Reno NV
> linkedin.com/in/sbell22
> blastofflabs.com
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3da9f2b2-6b3f-421f-a5b1-76b8349d953e%40googlegroups.com.


Re: AdGroupCriterion keyword error

2019-11-06 Thread 'Dmitry Omelyusik' via AdWords API and Google Ads API Forum
Thanks!

On Tuesday, November 5, 2019 at 7:44:41 PM UTC+3, adsapiforumadvisor wrote:
>
> Hi Dmitry,
>
>  
>
> Thank you for reaching out. From your provided logs, it looks like you 
> need to create a BiddableAdGroupCriterion 
> 
>  to 
> add your Keyword  
> to
>  
> in order to make the request. I was able to do this successfully and have 
> attached the XML header of my request. Please let me know if this solves 
> your error.
>
>  
>
> Regards,
>
> Mitchell
>
> Google Ads API Team
>
>
> ref:_00D1U1174p._5001UMWGDH:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c897f142-4e35-4b63-983f-e89843e99476%40googlegroups.com.