Re: Alternative PHP setup guide?

2019-12-23 Thread Aekansh Partani
Hello,
I have tried and used the same PHP Code and it worked for me. Can you 
elaborate what issues you are facing?
 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/702e4640-9f26-47b3-86f3-9747c2e433bc%40googlegroups.com.


Alternative PHP setup guide?

2019-12-23 Thread Stephen Engelking
I am new to this working with Google APIs, and I'm finding great difficulty 
getting started.  I'm trying to follow this guide:

https://developers.google.com/adwords/api/docs/guides/first-api-call

But a lot of the guide refers to links and then commands you to do actions 
which don't exist on the links, it seems like the web pages have changed 
and the guide has not been updated.  Is there any alternative guide to 
setting up Adwords API for 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/bcc23379-d710-4d3d-b2ec-5dc5cf51f261%40googlegroups.com.


RE: Filter AdGroupAds by final URL with GAQL

2019-12-23 Thread Google Ads API Forum Advisor Prod
Hi Akil,

Thank you for writing to us. With regards to your concern, it is not possible 
to filter a part of URL or a particular string from the URL field via Google 
Ads Query language. Please refer to this guide for more details on the query 
language. Let us know if you have any additional concerns.

Regards,
Nikisha Patel, Google Ads API Team
ref:_00D1U1174p._5001UOF8r7: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/rIDoB0Q2ZJ5A00vRYt_H_rSLiwkwwYHVv_oA%40sfdc.net.


RE: Universal App Campaign can not create ad images and html5

2019-12-23 Thread Google Ads API Forum Advisor Prod
Hello,

Thank you for reaching out. I understand you are trying to create 
UniversalAppAd with images via API, said that, you need to use AdGroupAdService 
to create this ad by specifying the images that needs to be attached to the ad. 
You will need to provide the ImageAsset to this link with all the required 
details where the assetId field is the Id of image asset. You could use the 
get() method of the AssetService to load the asset details via API and use the 
Id of the image asset that you wish to attach to the ad. Please refer to this 
code sample for reference to add ads via API. Let us know if you have any 
additional concerns.

Regards,
Nikisha Patel, Google Ads API Team
ref:_00D1U1174p._5001UOF7NS: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/NkU0k0Q2ZFT300MDGzaYn-TwObn6gzU-D6TA%40sfdc.net.


Re: Sometimes the request to google adwords server gets much long time to response.

2019-12-23 Thread Google Ads API Forum Advisor Prod
Hi Chathurangika,

You are getting ImageError.UNEXPECTED_SIZE error and this error occurs when the 
images you're uploading do not match one of the dimensions or a variation of 
that dimension outlined in this guide. Please let me know if you have any 
further questions.

Thanks and regards,
Xiaoming, Google Ads API Team
ref:_00D1U1174p._5001UOEnjh: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/dhZAh0Q2ZFLO00lQw_jy4dRrKO6KgRTD4qyQ%40sfdc.net.


RE: Retrieving monthly spend by campaign using the Invoice Service

2019-12-23 Thread Google Ads API Forum Advisor Prod
Hi Romar,

Thank you for reaching out. The InvoiceService.ListInvoices() does not support 
the monthly spend retrieval on the campaign level. The alternative way to do it 
is to query the metrics.cost_micros field from the campaign resource and set 
the date range to be a monthly range. Please let me know if you have any 
further questions.

Thanks and regards,
Xiaoming, Google Ads API Team
ref:_00D1U1174p._5001UOF5Us: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/lCHs40Q2ZEVW00aIcrhK7_SdKHLfZP0JhdNQ%40sfdc.net.


RE: Campaign status update error - AdWords API 201809

2019-12-23 Thread Google Ads API Forum Advisor Prod
Hi,

Thank you for reaching out. The error 
OperationAccessDenied.MUTATE_ACTION_NOT_PERMITED_FOR_CLIENT occurs when the 
attempted operation cannot be performed through the API. The video campaign 
creation and management are not yet supported through the API. Please find the 
list of campaigns that are supported through the API via this link.

Thanks and regards,
Xiaoming, Google Ads API Team
ref:_00D1U1174p._5001UOF5FJ: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/-v1sA0Q2ZD4N00WN4arBJiSKWIAMosJ3LFmw%40sfdc.net.


Scopes for specific services

2019-12-23 Thread Rob
Are there individual scopes that we can use to limit access to certain 
calls in the API? For example if I only need access 
to OfflineConversionFeedService and OfflineCallConversionFeedService is 
there a scope or authorization option I can use to only request access for 
those so that I don't need to request access for all services in the ad 
account with the global Adwords scope? I'm concerned about data privacy of 
the accounts granting access via oauth and not having access to the data 
and api calls I don't need would be optimal.

Thanks!

- Rob

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/98a7a4c0-b2f1-48bd-8716-d7229017ba8f%40googlegroups.com.


Filter AdGroupAds by final URL with GAQL

2019-12-23 Thread Akil
Hello,

I'm trying to filter AdGroupAds to ads where the final URL *does not *contain 
a particular string. e.g. doesn't have www in the URL. I'm trying the 
following but it's not working:

SELECT ad_group_ad.ad.id, ad_group_ad.ad.final_urls
FROM ad_group_ad
WHERE ad_group_ad.ad.final_urls CONTAINS NONE ('www')


I was hoping for this query to return only ads with URLs like 
"https://custom.mysite.com; but it's returning ads with URLs like 
"https://www.mysite.com;.

How can I get what I want using GAQL?

Thanks!
Akil

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f2161ce3-f3e5-4fd9-8e36-fa74da5978a5%40googlegroups.com.


AdWordsReportBadRequestError: Type: AuthenticationError.OAUTH_TOKEN_INVALID

2019-12-23 Thread Poker Face
Hi Google Support,

I have noticed that there are similar errors already posted in the group.
I've tried to implement the hints mentioned there, but still they couldn't 
fix this issue.
I was working on obtaining the reports via the Google Adwords API and run 
into the following error:

*AdWordsReportBadRequestError: Type: 
AuthenticationError.OAUTH_TOKEN_INVALID*
*Trigger: *
*Field Path: None*

I have checked is the acces_token valid with the following command:
curl https://www.googleapis.com/oauth2/v4/token 
-d refresh_token=.. 
-d client_id=... 
-d client_secret=...
-d grant_type=refresh_token
and the acces_token was valid.

Beside that I tried with generating different refresh_tokens and still got 
the same error.

Any ideas how I can fix it ?

Sincerely.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8a2ece8b-fb38-4b41-9b0c-8d179fad1bc7%40googlegroups.com.


Universal App Campaign can not create ad images and html5

2019-12-23 Thread Esteban Maya
These are the operations in python

headlinesList = []
descriptionList = []
imagesList = []

asset = {
'asset': {
'xsi_type': 'TextAsset',
'assetText': "dfdggdgs"
},
'pinnedField': None
}

headlinesList.append(asset)

asset = {
'asset': {
'xsi_type': 'TextAsset',
'assetText': "dfdggdgs"
},
'pinnedField': None
}

descriptionList.append(asset)


image_data = self.create_b64_from_image(media['url'])

asset = {
'asset': {
'xsi_type': 'ImageAsset',
'imageData': image_data
}
}

imagesList.append(asset)

operation = {
'xsi_type': 'AdGroupAdOperation',
'operator': 'ADD',
'operand': {
'xsi_type': 'AdGroupAd',
'adGroupId': ad_group_id,
'ad': {
'xsi_type': 'UniversalAppAd',
'headlines': headlinesList,
'descriptions': descriptionList,
'images': imagesList
},
'status': 'ENABLED'
}
}


When i try create a UniversalAppAd with images i did receive an error 
REQUIRED.ERROR assetId is Required. which assetId? if i want create a 
ImageAsset why should put the assetId, how get assetId?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/268c6bda-4333-4c02-89f4-2ef187c5bf99%40googlegroups.com.


RE: Ads script - Get data from "Where your ads showed" tab

2019-12-23 Thread Google Ads API Forum Advisor Prod
Hello,

The reports in Ads Scripts and AdWords API are the same. I see that you've 
already posted on the Ads Scripts forum and was able to get an answer for your 
issue.

Regards,
Anthony
Google Ads API Team
ref:_00D1U1174p._5001UOF1na: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/GGrSx0Q2Z0TO00r44h--sCR7WTV8Zax9vxSA%40sfdc.net.