Skip to content

Commit

Permalink
Updated samples from DoubleClick to AdManager. Updated to latest SDK …
Browse files Browse the repository at this point in the history
…version (7.35.2).
  • Loading branch information
Samuel Stow committed Nov 14, 2018
1 parent 61f1520 commit aa6eb3d
Show file tree
Hide file tree
Showing 351 changed files with 1,919 additions and 1,134 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,23 @@
objects = {

/* Begin PBXBuildFile section */
CF12E28419A6C783001EB38A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = CF12E28319A6C783001EB38A /* main.m */; };
CF12E28719A6C783001EB38A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = CF12E28619A6C783001EB38A /* AppDelegate.m */; };
CF12E28A19A6C783001EB38A /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = CF12E28919A6C783001EB38A /* ViewController.m */; };
CF12E28D19A6C783001EB38A /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = CF12E28B19A6C783001EB38A /* Main.storyboard */; };
CF12E28F19A6C783001EB38A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = CF12E28E19A6C783001EB38A /* Images.xcassets */; };
50931E642151A9C60031BE3E /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 50931E5C2151A9C60031BE3E /* AppDelegate.m */; };
50931E652151A9C60031BE3E /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 50931E5D2151A9C60031BE3E /* Main.storyboard */; };
50931E662151A9C60031BE3E /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 50931E5F2151A9C60031BE3E /* Images.xcassets */; };
50931E682151A9C60031BE3E /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 50931E622151A9C60031BE3E /* ViewController.m */; };
50931E692151A9C60031BE3E /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 50931E632151A9C60031BE3E /* main.m */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
CF12E27E19A6C783001EB38A /* DFPBannerExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DFPBannerExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
CF12E28219A6C783001EB38A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
CF12E28319A6C783001EB38A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
CF12E28519A6C783001EB38A /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
CF12E28619A6C783001EB38A /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
CF12E28819A6C783001EB38A /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
CF12E28919A6C783001EB38A /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
CF12E28C19A6C783001EB38A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
CF12E28E19A6C783001EB38A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
50931E5B2151A9C60031BE3E /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
50931E5C2151A9C60031BE3E /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
50931E5E2151A9C60031BE3E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
50931E5F2151A9C60031BE3E /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
50931E602151A9C60031BE3E /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
50931E612151A9C60031BE3E /* ViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; };
50931E622151A9C60031BE3E /* ViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; };
50931E632151A9C60031BE3E /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
CF12E27E19A6C783001EB38A /* AdManagerBannerExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AdManagerBannerExample.app; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -37,51 +37,43 @@
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
CF12E27519A6C783001EB38A = {
50931E5A2151A9C60031BE3E /* AdManagerBannerExample */ = {
isa = PBXGroup;
children = (
CF12E28019A6C783001EB38A /* DFPBannerExample */,
CF12E27F19A6C783001EB38A /* Products */,
50931E5B2151A9C60031BE3E /* AppDelegate.h */,
50931E5C2151A9C60031BE3E /* AppDelegate.m */,
50931E5D2151A9C60031BE3E /* Main.storyboard */,
50931E5F2151A9C60031BE3E /* Images.xcassets */,
50931E602151A9C60031BE3E /* Info.plist */,
50931E612151A9C60031BE3E /* ViewController.h */,
50931E622151A9C60031BE3E /* ViewController.m */,
50931E632151A9C60031BE3E /* main.m */,
);
path = AdManagerBannerExample;
sourceTree = "<group>";
};
CF12E27F19A6C783001EB38A /* Products */ = {
isa = PBXGroup;
children = (
CF12E27E19A6C783001EB38A /* DFPBannerExample.app */,
);
name = Products;
sourceTree = "<group>";
};
CF12E28019A6C783001EB38A /* DFPBannerExample */ = {
CF12E27519A6C783001EB38A = {
isa = PBXGroup;
children = (
CF12E28519A6C783001EB38A /* AppDelegate.h */,
CF12E28619A6C783001EB38A /* AppDelegate.m */,
CF12E28819A6C783001EB38A /* ViewController.h */,
CF12E28919A6C783001EB38A /* ViewController.m */,
CF12E28B19A6C783001EB38A /* Main.storyboard */,
CF12E28E19A6C783001EB38A /* Images.xcassets */,
CF12E28119A6C783001EB38A /* Supporting Files */,
50931E5A2151A9C60031BE3E /* AdManagerBannerExample */,
CF12E27F19A6C783001EB38A /* Products */,
);
path = DFPBannerExample;
sourceTree = "<group>";
};
CF12E28119A6C783001EB38A /* Supporting Files */ = {
CF12E27F19A6C783001EB38A /* Products */ = {
isa = PBXGroup;
children = (
CF12E28219A6C783001EB38A /* Info.plist */,
CF12E28319A6C783001EB38A /* main.m */,
CF12E27E19A6C783001EB38A /* AdManagerBannerExample.app */,
);
name = "Supporting Files";
name = Products;
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
CF12E27D19A6C783001EB38A /* DFPBannerExample */ = {
CF12E27D19A6C783001EB38A /* AdManagerBannerExample */ = {
isa = PBXNativeTarget;
buildConfigurationList = CF12E29E19A6C783001EB38A /* Build configuration list for PBXNativeTarget "DFPBannerExample" */;
buildConfigurationList = CF12E29E19A6C783001EB38A /* Build configuration list for PBXNativeTarget "AdManagerBannerExample" */;
buildPhases = (
CF12E27A19A6C783001EB38A /* Sources */,
CF12E27B19A6C783001EB38A /* Frameworks */,
Expand All @@ -91,9 +83,9 @@
);
dependencies = (
);
name = DFPBannerExample;
name = AdManagerBannerExample;
productName = DFPBannerExample;
productReference = CF12E27E19A6C783001EB38A /* DFPBannerExample.app */;
productReference = CF12E27E19A6C783001EB38A /* AdManagerBannerExample.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */
Expand All @@ -107,10 +99,11 @@
TargetAttributes = {
CF12E27D19A6C783001EB38A = {
CreatedOnToolsVersion = 6.0;

};
};
};
buildConfigurationList = CF12E27919A6C783001EB38A /* Build configuration list for PBXProject "DFPBannerExample" */;
buildConfigurationList = CF12E27919A6C783001EB38A /* Build configuration list for PBXProject "AdManagerBannerExample" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
Expand All @@ -123,7 +116,7 @@
projectDirPath = "";
projectRoot = "";
targets = (
CF12E27D19A6C783001EB38A /* DFPBannerExample */,
CF12E27D19A6C783001EB38A /* AdManagerBannerExample */,
);
};
/* End PBXProject section */
Expand All @@ -133,8 +126,8 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
CF12E28D19A6C783001EB38A /* Main.storyboard in Resources */,
CF12E28F19A6C783001EB38A /* Images.xcassets in Resources */,
50931E652151A9C60031BE3E /* Main.storyboard in Resources */,
50931E662151A9C60031BE3E /* Images.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -145,19 +138,19 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
CF12E28A19A6C783001EB38A /* ViewController.m in Sources */,
CF12E28719A6C783001EB38A /* AppDelegate.m in Sources */,
CF12E28419A6C783001EB38A /* main.m in Sources */,
50931E682151A9C60031BE3E /* ViewController.m in Sources */,
50931E692151A9C60031BE3E /* main.m in Sources */,
50931E642151A9C60031BE3E /* AppDelegate.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXVariantGroup section */
CF12E28B19A6C783001EB38A /* Main.storyboard */ = {
50931E5D2151A9C60031BE3E /* Main.storyboard */ = {
isa = PBXVariantGroup;
children = (
CF12E28C19A6C783001EB38A /* Base */,
50931E5E2151A9C60031BE3E /* Base */,
);
name = Main.storyboard;
sourceTree = "<group>";
Expand Down Expand Up @@ -257,7 +250,8 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
INFOPLIST_FILE = DFPBannerExample/Info.plist;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = "$(SRCROOT)/AdManagerBannerExample/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.google.example.${PRODUCT_NAME:rfc1034identifier}";
Expand All @@ -270,7 +264,8 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
INFOPLIST_FILE = DFPBannerExample/Info.plist;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = "$(SRCROOT)/AdManagerBannerExample/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.google.example.${PRODUCT_NAME:rfc1034identifier}";
Expand All @@ -281,7 +276,7 @@
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
CF12E27919A6C783001EB38A /* Build configuration list for PBXProject "DFPBannerExample" */ = {
CF12E27919A6C783001EB38A /* Build configuration list for PBXProject "AdManagerBannerExample" */ = {
isa = XCConfigurationList;
buildConfigurations = (
CF12E29C19A6C783001EB38A /* Debug */,
Expand All @@ -290,7 +285,7 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
CF12E29E19A6C783001EB38A /* Build configuration list for PBXNativeTarget "DFPBannerExample" */ = {
CF12E29E19A6C783001EB38A /* Build configuration list for PBXNativeTarget "AdManagerBannerExample" */ = {
isa = XCConfigurationList;
buildConfigurations = (
CF12E29F19A6C783001EB38A /* Debug */,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0830"
LastUpgradeVersion = "1010"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand All @@ -15,9 +15,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "CF12E27D19A6C783001EB38A"
BuildableName = "DFPBannerExample.app"
BlueprintName = "DFPBannerExample"
ReferencedContainer = "container:DFPBannerExample.xcodeproj">
BuildableName = "AdManagerBannerExample.app"
BlueprintName = "AdManagerBannerExample"
ReferencedContainer = "container:AdManagerBannerExample.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
Expand All @@ -33,9 +33,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "CF12E27D19A6C783001EB38A"
BuildableName = "DFPBannerExample.app"
BlueprintName = "DFPBannerExample"
ReferencedContainer = "container:DFPBannerExample.xcodeproj">
BuildableName = "AdManagerBannerExample.app"
BlueprintName = "AdManagerBannerExample"
ReferencedContainer = "container:AdManagerBannerExample.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
Expand All @@ -56,9 +56,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "CF12E27D19A6C783001EB38A"
BuildableName = "DFPBannerExample.app"
BlueprintName = "DFPBannerExample"
ReferencedContainer = "container:DFPBannerExample.xcodeproj">
BuildableName = "AdManagerBannerExample.app"
BlueprintName = "AdManagerBannerExample"
ReferencedContainer = "container:AdManagerBannerExample.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
Expand All @@ -75,9 +75,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "CF12E27D19A6C783001EB38A"
BuildableName = "DFPBannerExample.app"
BlueprintName = "DFPBannerExample"
ReferencedContainer = "container:DFPBannerExample.xcodeproj">
BuildableName = "AdManagerBannerExample.app"
BlueprintName = "AdManagerBannerExample"
ReferencedContainer = "container:AdManagerBannerExample.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '7.0'

target 'DFPRewardedVideoExample' do
target 'AdManagerBannerExample' do
pod 'Google-Mobile-Ads-SDK'
end
16 changes: 16 additions & 0 deletions Objective-C/admanager/AdManagerBannerExample/Podfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
PODS:
- Google-Mobile-Ads-SDK (7.35.2)

DEPENDENCIES:
- Google-Mobile-Ads-SDK

SPEC REPOS:
https://github.com/cocoapods/specs.git:
- Google-Mobile-Ads-SDK

SPEC CHECKSUMS:
Google-Mobile-Ads-SDK: 8f07cc8eac6649fe648cabc97d67c8d20173624a

PODFILE CHECKSUM: 2d16504e9065e6e023e0ef534263fd59f4c5452e

COCOAPODS: 1.5.3
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
iOS DFP Banner Example
======================
This is a minimal example showing how to place a DFP banner ad into an iOS
application.
# iOS AdManager Banner Example

This is a minimal example showing how to place an AdManager banner ad into an
iOS application.

This example does not come bundled with the iOS Google Mobile Ads SDK, but is
compatible with Cocoapods and includes a Podfile. We recommend using Cocoapods
Expand All @@ -15,10 +15,10 @@ https://guides.cocoapods.org/using/getting-started.html#toc_3 to get started.
After running pod update, Cocoapods creates a .xcworkspace that you can open
and run.

Replace the Ad Unit ID
----------------------
This example comes with a preconfigured DFP ad unit ID. You should create your
own inventory in DFP and reference your own ad unit ID.
## Replace the Ad Unit ID

This example comes with a preconfigured AdManager ad unit ID. You should create
your own inventory in AdManager and reference your own ad unit ID.

Additional Resources
--------------------
Expand Down
Loading

0 comments on commit aa6eb3d

Please sign in to comment.