คำเชิญ: (ไม่มีหัวข้อ) ในวัน รายปี จาก 8:30am ถึง 8:45am ในเดือน มกราคม วันที่ 5 (ICT) (Google Ads API and AdWords API Forum)

2023-03-08 Thread tanayoutc
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VTIMEZONE
TZID:Asia/Bangkok
X-LIC-LOCATION:Asia/Bangkok
BEGIN:STANDARD
TZOFFSETFROM:+0700
TZOFFSETTO:+0700
TZNAME:+07
DTSTART:19700101T00
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=Asia/Bangkok:20230105T083000
DTEND;TZID=Asia/Bangkok:20230105T084500
RRULE:FREQ=YEARLY;WKST=MO
DTSTAMP:20230309T061828Z
ORGANIZER;CN=tanayo...@gmail.com:mailto:tanayo...@gmail.com
UID:6tgm4d9m6ti30bb3cgojcb9kccqjabb170rj6bb264s6ap9pcgrj0dh...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Google Ads API and AdWords API Forum;X-NUM-GUESTS=0:mailto:adwords-
 a...@googlegroups.com
X-GOOGLE-CONFERENCE:https://meet.google.com/jfg-vawb-rdc
X-MICROSOFT-CDO-OWNERAPPTID:332015488
CREATED:20220830T072118Z
DESCRIPTION:ครบรอบกำหนดการให้ Google เวอร์ชั่น ประเทศไทย ของทุกปี เริ่ม ปี 
 05/01/2565\n\n-::~:~::~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~
 :~:~:~:~:~:~:~:~:~::~:~::-\nเข้าร่วมด้วย Google Meet: https://meet.google.c
 om/jfg-vawb-rdc\n\nดูข้อมูลเพิ่มเติมเกี่ยวกับ Meet ที่ https://support.goog
 le.com/a/users/answer/9282720\n\nโปรดอย่าแก้ไขส่วนนี้\n-::~:~::~:~:~:~:~:~:
 ~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~::~:~::-
LAST-MODIFIED:20230309T061827Z
LOCATION:57 ถ. วิทยุ แขวง ลุมพินี เขตปทุมวัน กรุงเทพมหานคร 10330 ประเทศไทย
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:
TRANSP:OPAQUE
ATTACH;FILENAME=Final - GMB One-pager [TH] - Smaller size.pdf;FMTTYPE=appli
 cation/pdf:https://drive.google.com/file/d/14l2kLSBZFzXv34_fRM4wfuQmhHZjTOy
 7/view?usp=drivesdk
ATTACH;FILENAME=ข้อกำหนดในการให้บริการ;FMTTYPE=text/plain:https://drive.goo
 gle.com/file/d/11DUtCIjof830muMHhvcV8jZdr6JHebGi/view?usp=drivesdk
END:VEVENT
END:VCALENDAR


invite.ics
Description: application/ics


Deadline Exceeded Error

2023-03-08 Thread Muneeb Varuvalayil
We are observing the GRPC::DeadlineExceeded error while querying the google 
ads API via  ruby client. 

Query: 

```
  SELECT ad_group.id, ad_group_ad.ad.id, ad_group_ad.ad.name,
 ad_group_ad.ad.type, ad_group_ad.status, 
 ad_group_ad.ad.display_url, ad_group_ad.ad.final_urls, 
 ad_group_ad.ad.device_preference, ad_group_ad.ad.text_ad.headline, 
 ad_group_ad.ad.text_ad.description1, 
ad_group_ad.ad.text_ad.description2, 
 ad_group_ad.ad.image_ad.image_url, 
ad_group_ad.ad.image_ad.preview_image_url, 
 ad_group_ad.ad.image_ad.pixel_height, 
ad_group_ad.ad.image_ad.pixel_width, 
 ad_group_ad.ad.expanded_text_ad.headline_part1, 
 ad_group_ad.ad.expanded_text_ad.headline_part2, 
 ad_group_ad.ad.expanded_text_ad.headline_part3, 
 ad_group_ad.ad.expanded_text_ad.description, 
 ad_group_ad.ad.expanded_text_ad.description2, 
 ad_group_ad.ad.expanded_text_ad.path1, 
ad_group_ad.ad.expanded_text_ad.path2, 
 ad_group_ad.ad.responsive_search_ad.headlines, 
ad_group_ad.ad.responsive_search_ad.descriptions, 
 ad_group_ad.ad.responsive_search_ad.path1, 
ad_group_ad.ad.responsive_search_ad.path2, 
 ad_group_ad.ad.legacy_responsive_display_ad.marketing_image, 

 ad_group_ad.ad.legacy_responsive_display_ad.square_marketing_image, 
 ad_group_ad.ad.legacy_responsive_display_ad.business_name, 
 ad_group_ad.ad.legacy_responsive_display_ad.long_headline, 
 ad_group_ad.ad.legacy_responsive_display_ad.short_headline, 
 ad_group_ad.ad.gmail_ad.marketing_image, 
ad_group_ad.ad.gmail_ad.marketing_image_headline,
 ad_group_ad.ad.expanded_dynamic_search_ad.description 
FROM ad_group_ad 
   WHERE segments.date 
 BETWEEN '2023-02-18' 
 AND '2023-02-20' 
 AND metrics.impressions > 0
```

I went through some of the previous forum posts on similar issues. Based on 
the suggestions provided in those posts, I tried to increase the timeout 
value and also tried reducing the scope of the query to fetch smaller 
amounts of data.

Currently, we have set the timeout value to 3 hours, and we tried reducing 
the amount of data fetched by querying for only one day's worth of data. 

I am still facing same issues, and I was wondering if anyone could help me 
here

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/e6fbc4ff-4466-44f6-8c23-68200d5e8e7en%40googlegroups.com.


Can I access new client Ads account data with the API key generated under my account

2023-03-08 Thread gowtham ben mythdre
Hi there, 

I am building a system that fetches the Ads insight and generates a custom 
report. It's working as expected while fetching the data from the client's 
account that we already have access to with the API key. 

Just wondering whether with the existing API key, can I use that to get 
insights and details of a new onboarding client to whom I don't have access 
by using some sort of Google authorize.

Any help would be much appriciated 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/6a5caabd-4109-41bf-be27-67a2fe0c6688n%40googlegroups.com.


Re: AddBatchJobOperations returns Internal error encountered.

2023-03-08 Thread Jing CHEN
hi
I have already tried using exponential backoff for retries, but it still 
keeps returning errors. Meanwhile, batch operations to add no more than 4 
campaigns are successful. Do you need more information from me? I can 
provide it. Thank you for your reply and have a pleasant day!

On Thursday, 9 March 2023 at 01:48:16 UTC+8 Google Ads API Forum Advisor 
wrote:

> Hi Jing, 
>
> Thank you for coming back to us. I hope you are doing well today.
>
> Thank you for providing complete logs. Moving forward to the concern about 
> the *internal error*, could you please confirm to us that you already 
> follow the guideline provided before? Let me reiterate below for reference.
>
> *“The common cause of this **Internal Error* 
> *
>  error 
> is that the API isn't functioning correctly due to a bug. As per this 
> **retryable 
> errors* 
> *
>  guide, 
> some errors, such as TRANSIENT_ERROR or INTERNAL_ERROR, can indicate a 
> temporary problem that may be resolved by retrying the request after a 
> short pause. As mentioned also in the said guide, we recommend that when 
> you retry requests, use an exponential backoff policy. For example, if you 
> first pause 5 seconds before the first retry, you could pause 10 seconds 
> after the second and 20 seconds after the third retry. Exponential backoff 
> helps ensure you are not calling the API too aggressively.”*
>
> I ask this as this will help to raise your concern with the rest of the 
> team for further investigation on this matter and find right 
> recommendations.
>
> Thank you for your patience and understanding. Have a great day.
>
> Regards,
> [image: Google Logo] Google Ads API Team 
>
> ref:_00D1U1174p._5004Q2jXDA8: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 
"Google Ads API and AdWords 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/3a3b4d0e-520a-4264-b324-ab4a5b72495bn%40googlegroups.com.


RE: Frequent DEADLINE_EXCEEDED Errors

2023-03-08 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Thank you for reaching out to Google Ads API Forum.

Any suggestions?
>> The DEADLINE_EXCEEDED error indicates that your request took longer than the 
>> deadline. Having said that, you may check this timeout documentation for the 
>> perl client library for more information on timeouts. Kindly note that as 
>> per the guide, you may set the timeout to 2 hours or more, but the API may 
>> still time out extremely long-running requests and return a 
>> DEADLINE_EXCEEDED error.

Let me know how it goes on your end if this resolves your issue. If the error 
persists after trying the suggested solution, you may share to us the complete 
request and response logs with the request-id so we can check further. For the 
Perl client library, logging can be enabled by following this guide.

You can provide it via the Reply privately to author option. If this option is 
not available, then send it instead on this email address 
googleadsapi-supp...@google.com.

Regards,

Google Ads API Team
ref:_00D1U1174p._5004Q2jXIiS: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 
"Google Ads API and AdWords 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/b09I20RR7RNO00op2Y3PqXSIO5QDE3RcceAQ%40sfdc.net.


Import conversions (via spreadsheet) for grbaid & wbraid?

2023-03-08 Thread Laura Lawrie
We are very excited to implement conversions for `wbraid` and `gbraid` 
through our integration now that the API supports it. 

We currently also have the functionality to generate a "manual conversion 
import " file 
to help our users backfill any conversion data they might have missed with 
the integration. It is unclear to us whether that import now supports 
wbraid and gbraid (and if so, how to format it). 

Does anyone know? 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/de4fff13-f909-43bc-80aa-9f6f7c9bae17n%40googlegroups.com.


Data Difference in Google ADS API Data and Google ADS UI - I have different results

2023-03-08 Thread Dmitrii Serg
I have different results between API and ADS UI
Can you help?

query: "\nSELECT\ncampaign.id,\ncampaign.name,\n   
 campaign.status,\nmetrics.clicks,\nmetrics.cost_micros,\n   
 metrics.impressions,\nlanding_page_view.unexpanded_final_url,\n   
 campaign.advertising_channel_sub_type,\nsegments.date\nFROM 
landing_page_view\nWHERE\nsegments.date >= 20230101 and 
segments.date <= 20230307 and\nlanding_page_view.unexpanded_final_url 
like \'%so%\'\nORDER BY campaign.id"

Response: None

SELECT
campaign.id,
campaign.name,
campaign.status,
metrics.clicks,
metrics.cost_micros,
metrics.impressions,
landing_page_view.unexpanded_final_url,
campaign.advertising_channel_sub_type,
segments.date
FROM landing_page_view
WHERE
segments.date >= 20230101 and segments.date <= 20230307 and
landing_page_view.unexpanded_final_url like '%so%'
ORDER BY campaign.id"""

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/79529080-5c41-444a-8ac8-70541d7584e1n%40googlegroups.com.


Re: Retrieving account level assets

2023-03-08 Thread Google Ads API and AdWords API Forum


Re-posting the last inquiry (
https://groups.google.com/g/adwords-api/c/VH2TzZhRmcY) from the forum as it 
wasn't routed to our support queue.

Regards,
Google Ads API Team
On Saturday, March 4, 2023 at 12:02:51 AM UTC+8 pa...@swydo.com wrote:

> Hello,
>
> I haven't been able to retrieve data for some account level assets via the 
> Google Ads API, using GAQL.
>
> I have tried several different queries, including:
> SELECT asset.id,metrics.impressions FROM customer_asset
> as well as:
> SELECT asset.type,asset.id,customer.descriptive_name,metrics.impressions 
> FROM asset_set_asset
> however I do not get data about the assets in the screenshot
> The latter query works fine for ad-level assets, but not for account-level 
> assets. Am I missing something with my queries or is there no way to fetch 
> account-level assets?
>
> Thanks,
> Paul
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/8da1760d-9ae1-49e1-8c30-3476d2dffc21n%40googlegroups.com.


RE: Feed Item add

2023-03-08 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hello,

Welcome to Google Ads API Support team. Thank you for reaching out to us.

With regards to your concern, could you please confirm if you are referring to 
this Feeds Services document? If yes, then please note that Feed services are 
mostly deprecated. You should migrate to Assets as soon as possible for 
placeholder types that are eligible. The only feed placeholder types that are 
not yet deprecated are:

Ad customizers
Location extensions (and affiliate location extensions)
Dynamic remarketing (Flight, Hotel, Real estate, Travel, Location, Job, and 
Custom)


All other feed usage should migrate to assets as soon as possible.

If the above does not fit to your use case, then would you be able to provide 
more context or details to your concern? Asking this so we can better 
understand your concern and provide specific recommendations to it.

Furthermore, If this feed items is available in Google Ads UI, please provide a 
full screenshot of Google Ads UI so that our team can double-check what you're 
looking for.

Regards,

Google Ads API Team
ref:_00D1U1174p._5004Q2jXF9K: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 
"Google Ads API and AdWords 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/sPmCg0RR7KY600QnRZNsjrQdSeO-UvPWg5kg%40sfdc.net.


access token expire even with refresh token

2023-03-08 Thread Aimane FARISSI
Hello,

im trying to connect to Google ads api with GoogleAdsClient, after 
generation of token and refresh token with scopes adwords and 
business.manage, i can connect and create budget, but after arround 1h the 
token expire even with a refresh token.

looks like the refresh token of UserCredentials not taken in consideration 
for GoogleAdsClient.

//call to generate token
@GetMapping("/auth")
public String adsAuth() {
String redirect_uri = defaultHostname + "/ads/save-token";
ImmutableList scopes = ImmutableList.builder()
.add("https://www.googleapis.com/auth/adwords";, 
"https://www.googleapis.com/auth/business.manage";).build();
HttpTransport transport = new NetHttpTransport();

String clientId = googleAdsService.adsApiConfig().getClientId();
String clientSecret = 
googleAdsService.adsApiConfig().getClientSecret();
GoogleAuthorizationCodeFlow flow = new 
GoogleAuthorizationCodeFlow.Builder(transport, jsonFactory, clientId, 
clientSecret, scopes).build();

GoogleAuthorizationCodeRequestUrl url = flow.newAuthorizationUrl();
url.setRedirectUri(redirect_uri);
url.setApprovalPrompt("force");
url.setAccessType("offline");
String authorize_url = url.build();
return "redirect:"+authorize_url;
}

//call to build GoogleAdsClient
Properties googleAdsProps = new Properties();
googleAdsProps.put(GoogleAdsClient.Builder.ConfigPropertyKey.LOGIN_CUSTOMER_ID.getPropertyKey(),
 
loginCustomerId);

Credentials userCredentials =
UserCredentials.newBuilder()
.setClientId(clientId)
.setClientSecret(clientSecret)
.setAccessToken(new AccessToken(token, null))
.setRefreshToken(refreshToken)
.build();

GoogleAdsClient adsClient = GoogleAdsClient.newBuilder()
.setCredentials(userCredentials)
.fromProperties(googleAdsProps)
.setDeveloperToken("x")
.build();

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/156db454-0c7f-4318-b446-f44917bab1cbn%40googlegroups.com.


RE: Link manager , USER_PERMISSION_DENIED

2023-03-08 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hello,

Welcome to Google Ads API support team. Thank you for reaching out to us.

With regards to your concern, I can see that you’ve encountered the 
authorization_error: USER_PERMISSION_DENIED. It means the authorized customer 
does not have access to the operating customer. The common cause of this error 
is when authenticating as a user with access to a manager account but not 
specifying login-customer-id in the request. To prevent this kind of error, you 
need to make sure to specify the login-customer-id as the manager account ID 
without hyphens (-). Client libraries have built in support for this, or see 
our guide, in which you mentioned you already did. Having said that, it's 
possible that the user associated with the OAuth credentials (client ID and 
secret) does not have access to the manager account. With this, would you be 
able to provide us with the email used to create those credentials so we can 
check their permissions.

Regards,

Google Ads API Team
ref:_00D1U1174p._5004Q2jXERh: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 
"Google Ads API and AdWords 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/iYcTZ0RR7I0E00JLPmGXJhQtCHF93LSNX7gw%40sfdc.net.


Frequent DEADLINE_EXCEEDED Errors

2023-03-08 Thread charles...@gmail.com
Hi, I'm using the Perl version of your standard libraries and in recent 
days I've been getting very frequent DEADLINE_EXCEEDED errors when 
running KeywordPlanIdeaService with just 20 keywords at a time (happens 
every 15-30 min). I'm limiting the request by language/geo constraints and 
I've never hit a rate limit issue. I've tried raising the timeout values to 
2-5 minutes as per the advice given 
here: 
https://developers.google.com/google-ads/api/samples/set-custom-client-timeouts#perl

Unfortunately it keeps failing and halting and its very frustrating as I 
can't easily test my code if its been fixed until the next time it happens. 
According to the logs, it shows that the request too long to respond, but I 
can't really fix this on my end as it's on the API side. Any suggestions? 

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 
"Google Ads API and AdWords 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/a9b6dbdf-13b7-4440-8010-d5fdfeec7c6an%40googlegroups.com.


RE: An error occurred when binding the customer id with the manager account, "USER_PERMISSION_DENIED"

2023-03-08 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

Thank you for reaching out to us.

I can see that you have encountered the "USER_PERMISSION_DENIED" which means a 
user doesn't have permission to access a customer and you’re accessing a client 
customer using 'login-customer-id’ in the request.

To address the above error, you will need to ensure that the user / email 
address you used to generate the credentials indeed has access to the account 
in your request. If the user / email address has access or is associated with 
the MCC / manager account, you will need to specify the said MCC / manager 
account ID as the value of the login-customer-id field.

If the issue still persists, can you please provide the user account / email 
address that you used to generate API access or refresh tokens and the complete 
API logs (request and response with request-id) generated on your end? With the 
help of this information, I can check if you set the correct customer ID to 
login-customer-id.

You may then send the requested information via the Reply privately to author 
option. If this option is not available, you may send the details directly to 
our googleadsapi-supp...@google.com alias instead.

Best regards,

Google Ads API Team
ref:_00D1U1174p._5004Q2jXEJp: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 
"Google Ads API and AdWords 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/pd1Ms0RR7EOA00ruf0oURZRcOyGdntKNiySA%40sfdc.net.


Re: AddBatchJobOperations returns Internal error encountered.

2023-03-08 Thread Jing CHEN
complete *request* 

 and *response* 

 logs 
with the *request ID* 

 and *request header* 

 as 
follows:
---
Method: /google.ads.googleads.v12.services.BatchJobService/MutateBatchJob
Host: googleads.googleapis.com
Headers: {
  "developer-token": "REDACTED",
  "login-customer-id": "1307492882",
  "x-goog-api-client": "gl-python/3.7.8 grpc/1.41.1 gax/2.10.1 gccl/19.0.0 
pb/4.21.10",
  "x-goog-request-params": "customer_id=7680482384"
}
Request: customer_id: "7680482384"
operation {
  create {
  }
}


Response
---
Headers: {
  "alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000",
  "content-disposition": "attachment",
  "date": "Wed, 08 Mar 2023 02:45:07 GMT",
  "request-id": "F2D_wuzJdpYa7_8HGgWA4A"
}
Response: result {
  resource_name: "customers/7680482384/batchJobs/13276753654"
}


[2023-03-08 10:45:09,698 - INFO] Request made: ClientCustomerId: 
7680482384, Host: googleads.googleapis.com, Method: 
/google.ads.googleads.v12.services.BatchJobService/MutateBatchJob, 
RequestId: F2D_wuzJdpYa7_8HGgWA4A, IsFault: False, FaultMessage: None
[2023-03-08 10:47:05,469 - INFO] Request
---
Method: 
/google.ads.googleads.v12.services.BatchJobService/AddBatchJobOperations
Host: googleads.googleapis.com
Headers: {
  "developer-token": "REDACTED",
  "login-customer-id": "1307492882",
  "x-goog-api-client": "gl-python/3.7.8 grpc/1.41.1 gax/2.10.1 gccl/19.0.0 
pb/4.21.10",
  "x-goog-request-params": 
"resource_name=customers/7680482384/batchJobs/13276753654"
}
Request: resource_name: "customers/7680482384/batchJobs/13276753654"
mutate_operations {
  asset_operation {
create {
  resource_name: "customers/7680482384/assets/-1"
  name: "ad img assets #0b6c2b9a-b5d3-408c-a282-dcd13390a8b4"
  type_: IMAGE
  image_asset {
data: 
"\377\330\377\341#4Exif\000\000MM\000*\000\000\000\010\000\007\001\022\000\003\000\000\000\001\000\001\000\000\001\032\000\005\000\000\000\001\000\000\000b\001\033\000\005\000\000\000\001\000\000\000j\001(\000\003\000\000\000\001\000\002\000\000\0011\000\002\000\000\000\"\000\000\000r\0012\000\002\000\000\000\024\000\000\000\224\207i\000\004\000\000\000\001\000\000\000\250\000\000\000\324\000\n\374\200\000\000\'\020\000\n\374\200\000\000\'\020Adobe
 
Photoshop CC 2019 (Windows)\0002023:03:02 
16:10:54\000\000\003\240\001\000\003\000\000\000\001\377\377\000\000\240\002\000\004\000\000\000\001\000\000\004\260\240\003\000\004\000\000\000\001\000\000\002t\000\000\000\000\000\000\000\006\001\003\000\003\000\000\000\001\000\006\000\000\001\032\000\005\000\000\000\001\000\000\001\"\001\033\000\005\000\000\000\001\000\000\001*\001(\000\003\000\000\000\001\000\002\000\000\002\001\000\004\000\000\000\001\000\000\0012\002\002\000\004\000\000\000\001\000\000!\372\000\000\000\000\000\000\000H\000\000\000\001\000\000\000H\000\000\000\001\377\330\377\355\000\014Adobe_CM\000\002\377\356\000\016Adobe\000d\200\000\000\000\001\377\333\000\204\000\014\010\010\010\t\010\014\t\t\014\021\013\n\013\021\025\017\014\014\017\025\030\023\023\025\023\023\030\021\014\014\014\014\014\014\021\014\014\014\014\014\014\014\014\014\014\014\014\014\014\014\014\014\014\014\014\014\014\014\014\014\014\014\014\001\r\013\013\r\016\r\020\016\016\020\024\016\016\016\024\024\016\016\016\016\024\021\014\014\014\014\014\021\021\014\014\014\014\014\014\021\014\014\014\014\014\014\014\014\014\014\014\014\014\014\014\014\014\014\014\014\014\014\014\014\014\014\014\014\377\300\000\021\010\000T\000\240\003\001\"\000\002\021\001\003\021\001\377\335\000\004\000\n\377\304\001?\000\000\001\005\001\001\001\001\001\001\000\000\000\000\000\000\000\003\000\001\002\004\005\006\007\010\t\n\013\001\000\001\005\001\001\001\001\001\001\000\000\000\000\000\000\000\001\000\002\003\004\005\006\007\010\t\n\013\020\000\001\004\001\003\002\004\002\005\007\006\010\005\003\0143\001\000\002\021\003\004!\0221\005AQa\023\"q\2012\006\024\221\241\261B#$\025R\301b34r\202\321C\007%\222S\360\341\361cs5\026\242\262\203&D\223TdE\302\243t6\027\322U\342e\362\263\204\303\323u\343\363F\'\224\244\205\264\225\304\324\344\364\245\265\305\325\345\365Vfv\206\226\246\266\306\326\346\3667GWgw\207\227\247\267\307\327\347\367\021\000\002\002\001\002\004\004\003\004\005\006\007\007\006\0055\001\000\002\021\003!1\022\004AQaq\"\023\0052\201\221\024\241\261B#\301R\321\3603$b\341r\202\222CS\025cs4\361%\006\026\242\262\203\007&5\302\322D\223T\243\027dEU6te\342\362\263\204\303\323u\343\363F\224\244\205\264\225\304\324\344\364\245\265\305\325\345\365Vfv\206\226\246\266\306\326\346\366\'7GWgw\207\227\247\267\307\377\332\000\014\003\001\000\002\021\003\021\000?\000vc@\342\021=\000\217C\253\272\226\\\315[cC\207\317\262\

RE: I only sent one request, but the interface returned Too many requests. Retry in 4 seconds.

2023-03-08 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hello,

I'm from the Google Ads API team.

I suggest that you check out this documentation for more information regarding 
rate limits in Planning services. Furthermore, whenever this error is 
encountered, we highly recommend that you pause requests based on the 
response's recommendation then perform the retries.

Let us know if you need further clarification.

Regards,

Google Ads API Team
ref:_00D1U1174p._5004Q2jXCi9: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 
"Google Ads API and AdWords 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/iW8nR0RR7CGJ00mq7no_eaSySCO9VAvpsW1g%40sfdc.net.


Re: campaign budget fields from change event service

2023-03-08 Thread julian selser
Hi,

As I mentioned in my previous message, I know the change event service can 
be used but its no good.

Can you confirm this cannot be done through the *change status service*?

Thanks,
Julian

On Wednesday, March 8, 2023 at 3:50:19 AM UTC-3 Google Ads API Forum 
Advisor wrote:

> Hi Julian,
>
> Thank you for the reply and providing requested information.
>
> Upon trying it on my end, I can confirm that I can retrieve the change 
> information from the old budget amount of 510 to 520. You may check 
> and try the sample query below to see this.
>
> *SELECT change_event.resource_name, change_event.change_date_time, 
> change_event.change_resource_name, change_event.user_email, 
> change_event.client_type, change_event.change_resource_type, 
> change_event.old_resource, change_event.new_resource, 
> change_event.resource_change_operation, change_event.changed_fields FROM 
> change_event WHERE change_event.change_date_time BETWEEN '20230307' AND 
> '20230308'  LIMIT 5*
>
> For validation, you may also check your UI' change history section.
>
> Best regards,
> [image: Google Logo] Google Ads API Team 
>
> ref:_00D1U1174p._5004Q2jH60E: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 
"Google Ads API and AdWords 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/ebf385ab-9a50-475e-b545-43e3c19b0144n%40googlegroups.com.


Difference in reports between Google Ads UI and API

2023-03-08 Thread Can Kivanc
Hi,
We want to get expanded_landing_page_view.expanded_final_url via api but 
number of urls that we get via api doesn't match with Google Ads ui.

Here is the query:

 SELECT
segments.date,
metrics.clicks,
ad_group.status,
campaign.status,
campaign.end_date,
expanded_landing_page_view.expanded_final_url,
expanded_landing_page_view.resource_name

FROM expanded_landing_page_view

WHERE
 campaign.status = 'ENABLED'
 AND campaign.end_date >= '${LocalDate.now()}'
 AND ad_group.status = 'ENABLED'
 AND segments.date DURING LAST_30_DAYS  

You can see screen shot below from Google Ads Interface
The filters and the time range are the same with the query.
[image: Screen Shot 2023-03-08 at 15.19.17.png]
What might the reason for difference in #URLs being reported?
Want we want to get is all URLs that are being used in campaigns.

Thanks in advance,
Can


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/960dd04f-8185-4911-901b-27e885101a2bn%40googlegroups.com.


context_error: OPERATION_NOT_PERMITTED_FOR_CONTEXT

2023-03-08 Thread Aimane FARISSI
Hello, 
i'm getting this error while trying to create LOCAL_CAMPAIGN
first step budget created correctly, but second step campaign creation got 
the error.

any help.

Request
---
MethodName: 
google.ads.googleads.v13.services.CampaignService/MutateCampaigns
Endpoint: googleads.googleapis.com:443
Headers: {developer-token=REDACTED, login-customer-id=6350088078, 
x-goog-api-client=gl-java/1.8.0_322 gccl/23.0.0 gapic/23.0.0 gax/2.23.0 
grpc/1.52.1 pb/3.21.12}
Body: customer_id: "6721821997"
operations {
  create {
status: ENABLED
advertising_channel_type: LOCAL
advertising_channel_sub_type: LOCAL_CAMPAIGN
maximize_conversion_value {
  target_roas: 3.5
}
local_campaign_setting {
  location_source_type: GOOGLE_MY_BUSINESS
}
optimization_goal_setting {
  optimization_goal_types: CALL_CLICKS
  optimization_goal_types: DRIVING_DIRECTIONS
}
name: "1717 - test ads a #1502953868 : Montant est de 2,00 
\342\202\254."
campaign_budget: "customers/6721821997/campaignBudgets/12418307278"
start_date: "20230308"
end_date: "20230309"
  }
}


Response

Headers: 
Metadata(content-type=application/grpc,request-id=KSmESoIBBm44a9rz-4pWCA,date=Wed,
 
08 Mar 2023 12:02:23 GMT,alt-svc=h3=":443"; ma=2592000,h3-29=":443"; 
ma=2592000)
Body: null
Failure message: errors {
  error_code {
context_error: OPERATION_NOT_PERMITTED_FOR_CONTEXT
  }
  message: "The operation is not allowed for the given context."
  location {
field_path_elements {
  field_name: "operations"
  index: 0
}
field_path_elements {
  field_name: "create"
}
field_path_elements {
  field_name: "advertising_channel_sub_type"
}
  }
}
request_id: "KSmESoIBBm44a9rz-4pWCA"

Status: Status{code=INVALID_ARGUMENT, description=Request contains an 
invalid argument., cause=null}.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/6a008609-0ff6-47e3-bb65-69493c8e1dd9n%40googlegroups.com.


Re: Delete Audience

2023-03-08 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,

If you are talking about the user list, then my answer is yes. You can remove 
the user lists using the OfflineUserDataJobOperation. For more details, you may 
check this document.

I hope this helps.

Kind regards,

Google Ads API Team
ref:_00D1U1174p._5004Q2jWpUp: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 
"Google Ads API and AdWords 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/IOmKj0RR77KU00niOVr9v7QuycCr-fkv_nwg%40sfdc.net.


RE: AddBatchJobOperations returns Internal error encountered.

2023-03-08 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Jing,

Thank you for reaching out to the Google Ads API support team. I hope that you 
are doing well today.

Regarding the issue, it appears that this is about experiencing an Internal 
Error when creating Billing Setup through both Google Ads UI and API. This 
error means something unexpected happened while processing the request. The 
common cause of this error is that the API isn't functioning correctly due to a 
bug. As per this retryable errors guide, some errors, such as TRANSIENT_ERROR 
or INTERNAL_ERROR, can indicate a temporary problem that may be resolved by 
retrying the request after a short pause. As mentioned also in the said guide, 
we recommend that when you retry requests, use an exponential backoff policy. 
For example, if you first pause 5 seconds before the first retry, you could 
pause 10 seconds after the second and 20 seconds after the third retry. 
Exponential backoff helps ensure you are not calling the API too aggressively.

If the issue persists, you may then send us the updated complete request and 
response logs with the request ID and request header generated on your end for 
further investigation.

You can provide it via Reply privately to the author option. If this option is 
not available, then send it instead on this email address 
googleadsapi-supp...@google.com.

Kind regards,

Google Ads API Team
ref:_00D1U1174p._5004Q2jXDA8: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 
"Google Ads API and AdWords 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/qutDq0RR77B300aTAwI22nTpKlFfhaZ3npWg%40sfdc.net.


RE: Get campaign amount spend using node.js

2023-03-08 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Leonardo,

Thank you for raising this concern to the Google Ads API Forum. We hope you are 
doing well today.

Please refer to the answer below:

How can I get the amount spent on all my campaigns in a specific time period?
I was reading the documentation, you guys don't have javascript library.
Should I use reports? 
https://developers.google.com/google-ads/api/fields/v13/campaign#segments.date
Or use the rest interface? if the answer is yes to using the rest interface, 
what is the correct rest
resource to get all the campaigns and the amount spent?

To answer your question, you can use the campaign report filtering 
metrics.cost_micros to get the amount spent. You can use the segments.date 
field specifically in the day not in time period. You may use the search and 
searchstream requests for REST.

On the other hand, you may check this sample code if you want to use the client 
library. You may just edit the query there.

You may also check this guide, as it describes the steps necessary to create 
and submit a query to the Google Ads API to get back data.

If the mentioned reports and fields not getting the data that you are looking 
for, you may provide us the complete Google Ads UI screenshot that you want to 
get by API.  For security purposes, you can provide it via the Reply privately 
to author option. If this option is not available, then send it instead on this 
email address googleadsapi-supp...@google.com.


Best regards,

Google Ads API Team
ref:_00D1U1174p._5004Q2jX9Nx: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 
"Google Ads API and AdWords 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/k_JQg0RR770N00-GLPq_sGR3-ExNIPiTAJZA%40sfdc.net.


Feed Item add

2023-03-08 Thread Xuan Van Do
It appears that Google Ads API v13 no longer supports adding feed items. 
Does anyone have information on this from Google Ads API? Please help me 
know!

-- 

-
もし、このメッセージが誤って貴殿に送信されたと思われる場合には、
機密情報を含んでいる可能性もありますので、どなたにも転送せず、
付属したファイルも含めて削除していただくとともに、発信者にその旨を
お伝えいただきますようお願いいたします。
This email may be 
confidential or privileged.
If you received this communication
by mistake, 
please don't forward it to anyone else,
please erase all copies and 
documents,
and please let me know that it went to the wrong person.
Thank 
you very much.
-

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/344c6ccf-2da9-446e-a552-c45373e9f397n%40googlegroups.com.


Link manager , USER_PERMISSION_DENIED

2023-03-08 Thread 林灿
Hi:
I'm using the java API to bind a customer_id from another manager 
account to my test account manager。
I get the error, "User doesn't have permission to access customer. 
Note: If you're accessing a client customer, the manager's customer id must 
be set in the 'login-customer-id' header. See 
https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid"。
 I've specified the login_customer_id in the code.
request_id: "tT3HCScr6nX4zbutQ04wbQ",customer_id: 
"2154272009",managerId:"7306826639"
Refer to the code example:Google Ads API 


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/d774a423-8976-4726-8101-63118cfc2e86n%40googlegroups.com.


An error occurred when binding the customer id with the manager account, "USER_PERMISSION_DENIED"

2023-03-08 Thread 林灿
hi:
   I am using the java api to bind the customer ID under another 
manager account to my test account manager account, but an error occurs, 
"User does n 't have permission to access customer. Note: If you 're 
accessing a client customer, the manager 's customer ID must be set in the 
'login-customer-id 'header. See 
https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid 
"。

I have specified login in the code_ customer_ id,
request_ id: "tT3HCScr6nX4zbutQ04wbQ",customer_ id: 
"2154272009",managerId:"7306826639"

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/32de9643-1701-4e1c-af44-ee4711367847n%40googlegroups.com.